Click on Xpath

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
sanjoyforever
Posts: 1
Joined: Tue Jun 20, 2017 7:37 am

Click on Xpath

Post by sanjoyforever » Tue Jun 20, 2017 7:49 am

Hi All
Have been trying to click using xpath with the following codes.

Code: Select all

TAG XPATH = (//label[@class='flight-list-radio-button'])[1]
This highlights the correct element, but not able to click.

I also tried using javascript Click method, but again no help.

Code: Select all

EVAL("document.evaluate("(//label[@class='flight-list-radio-button'])[1]", document, null, XPathResult.ANY_TYPE, null).iterateNext().click()")
Any luck to this ?
Post Reply