Reputation: 2387
I'm trying to use RemoteWebDriver with xpath locators on google.com, this is the log from node running firefox. It receives all those commands but doesn't executes them. I dont see any activity with browser, other than opening google homepage.
Upvotes: 0
Views: 316
Reputation: 3639
I had similar trouble. Mine was with webdriver though. I noticed the behavior depended on the browser. In the link below I gave two examples. The first was for firefox like you and the second was using the android driver. They both worked with chrome though.
In my cases xpath did finally work using a more explicit path (more explicit than needed to find the element) and if that was not possible I had so go another route like css.
https://stackoverflow.com/a/11341946/1258245
Upvotes: 1