-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problems with xpath #47
Comments
The web page has two sort down arrows for the same purpose and you picked the wrong one to click on. $x("//a[@id='ctl00_ctl10_ProductOverviewTable_ProductGrid_DerivativeLever_desc']") |
Hello Florent, Thanks again for your quick reply. The problem I am currently facing is that there are quite a lot of instructions that worked with the old version but not now on different web pages. I understand your explanation, but why did the loading behaviour of the webpage change dependent on the web driver and how could I avoid future headaches? Is there any safe way to prevent those issues for future updates? If I reinstall the old version v2.0.5.0 all is running as always, but with the new version I am facing those issues. I have installed: Firefox 42.0 Excel 2010, completely updated Windows 7 and Windows 8.1 Best regards Martin Von: Florent Breheret [mailto:notifications@github.com] The web page has two sort down arrows for the same purpose and you picked the wrong one to click on. $x("//a[@id='ctl00_ctl10_ProductOverviewTable_ProductGrid_DerivativeLever_desc']") — |
This change of behaviour in the Firefox driver was an attempt to make it interact more like a real user.
|
Thanks a lot. It is very helpful understanding the background! Von: Florent Breheret [mailto:notifications@github.com] I understand your explanation, but why did the loading behaviour of the webpage change dependent on the web driver and how could I avoid future headaches? This change of behaviour in the Firefox driver was an attempt to make it interact more like a real user. Is there any safe way to prevent those issues for future updates? — |
Hello Florent,
I found a problem with the updated driver.
Below ist the code that worked with Release v2.0.5.0 but not with Release v2.0.6.0
The last instruction
driver.FindElementByXPath_("(//a@id='ctl00_ctl10_ProductOverviewTable_ProductGrid_DerivativeLever_desc'])[2]").Click
is not working with the new Version. Could you please check for this?
Here is the code:
The text was updated successfully, but these errors were encountered: