1

Rather than specifying the id-path for components to click in WicketTester I'd like to find the link with a specific text.

I can use MarkupContainer.visitChildren to run through the tree, but can I get the actual rendered component text for each leaf - something like .innerHTML?

mark-cs
  • 4,677
  • 24
  • 32
Duncan McGregor
  • 17,665
  • 12
  • 64
  • 118

1 Answers1

1

Yes, see TagTester. It is part of WicketTester family.

martin-g
  • 17,243
  • 2
  • 23
  • 35