Jump to content

_FFXPath and _FFClick


Recommended Posts

Hi all,
 
I hope somebody can help.
 
I have the following _FFXPath code which Firefox will open a new tab with _FFClick on the first instance of the word 'Open' if it's a web link.
 
_FFXPath("//a[contains(.,'Open')]","",9)
_FFClick("FFau3.xpath")
I'm using _FFXPath because they are onclick javascript links.
 
What do I need to do so instead of it clicking on the first instance of 'Open' on the webpage, but to click on the last instance of 'Open' instead?
 
If there's no easy way, perhaps knowing the number of occurrences of 'Open' before the last instance would help for a different way of tackling this?
 
Many thanks.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...