Forum Discussion

Ravik's avatar
Ravik
Super Contributor
13 years ago

Get all visible links from page

Hi,



In our application we a page that is contain some visible and some disable links (based on condition) I want to be find all visible link.

how can we did this. please guide us.



Thanks

Ravik

1 Reply

  • You can use EvaluateXPath function of the Page object. The XPath expression depends on the way the links are treated as visible. Maybe something like this: "//A[@disabled='']".