How to click an anchor after specific text from a web page

Hi,
How can I click an anchor after a specific text in the browser element (not relative) as there are many anchors before and after that anchor tag?

Please refer here -

You have to specify the anchor position :

AnchorPosition - Specifies to which edge of the container the UI element is anchored. The following options are available:

  • Left - Searches for the UI element to the left of the container.
  • Top - Searches for the UI element at the top of the container.
  • Right - Searches for the UI element to the right of the container.
  • Bottom - Searches for the UI element at the bottom of the container.
  • Auto - If selected, the Bottom case is not considered. Searches downward for the UI element to the left and right of the container. The closest one is selected. If multiple elements are found at equal distance from the anchor, the target is selected in this order: Right, Left, Bottom.

Regards,
Karthik Byggari

1 Like

Thanks @karthikByggari.

I fixed this issue by using anchor position.