Comments (4)
The web page has two sort down arrows for the same purpose and you picked the wrong one to click on.
One is for the static header and the other one is for the floating header.
Set a breakpoint and evaluate the XPath in Firefox to see where the elements are once the page is s crolled:
$x("//a[@id='ctl00_ctl10_ProductOverviewTable_ProductGrid_DerivativeLever_desc']")
from seleniumbasic.
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:[email protected]]
Gesendet: Montag, 14. Dezember 2015 16:59
An: florentbr/SeleniumBasic
Cc: martinoclaudio
Betreff: Re: [SeleniumBasic] problems with xpath (#47)
The web page has two sort down arrows for the same purpose and you picked the wrong one to click on.
One is for the static header and the other one is for the floating header.
Set a breakpoint and evaluate the XPath in Firefox to see where the elements are once the page is s crolled:
$x("//a[@id='ctl00_ctl10_ProductOverviewTable_ProductGrid_DerivativeLever_desc']")
—
Reply to this email directly or view it on GitHub #47 (comment) .Das Bild wurde vom Absender entfernt.
from seleniumbasic.
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.
With the previous version you were able to click an element that wasn't visible to begin with.
The only issue I see here is that there should be an error telling that the element cannot be clicked.
Here is the issue in question raised in the Selenium project:
SeleniumHQ/selenium#1202
Is there any safe way to prevent those issues for future updates?
No
from seleniumbasic.
Thanks a lot. It is very helpful understanding the background!
Von: Florent Breheret [mailto:[email protected]]
Gesendet: Montag, 14. Dezember 2015 19:12
An: florentbr/SeleniumBasic
Cc: martinoclaudio
Betreff: Re: [SeleniumBasic] problems with xpath (#47)
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.
With the previous version you were able to click an element that wasn't visible to begin with.
The only issue I see here is that there should be an error telling that the element cannot be clicked.
Here is the issue in question raised in the Selenium project:
SeleniumHQ/selenium#1202 SeleniumHQ/selenium#1202
Is there any safe way to prevent those issues for future updates?
No
—
Reply to this email directly or view it on GitHub #47 (comment) .Das Bild wurde vom Absender entfernt.
from seleniumbasic.
Related Issues (20)
- Change the Folder and Rename a file HOT 1
- 57 BrowserNotStartedError: Browser not started. Call Get, Start or StartRemotely first.
- scope_dir within profile path
- I can no longer attach to an Existing Instance of Chrome since Chrome was updated to 114.0.5735.199 (Official Build) (64-bit) (cohort: Stable) in Late June HOT 7
- Chrome Driver SwitchToWindowByTittle HOT 1
- The ordinal 538 could not be located in the dynamic link library HOT 3
- Can't locate frame
- How do I know if this element is visible? HOT 15
- Select a city at dropdown responsive HOT 9
- After a "click" method is executed, a drag and drop mouse action will cause all links to broken on Chrome Version 117 HOT 2
- no chromeriver.exe found in new versions of chrome driver HOT 3
- Open Chrome with an exsisting profile, when same profile is already open HOT 3
- Did Edge version 119 break SeleniumBasic? HOT 1
- Run-time error 8013150a HOT 9
- Adding code signing to your software.
- Adding code signing to your software
- VBA .ExecuteScript("return arguments[0].shadowRoot" returns type Dictionary, not type WebElement
- Requesting help to amend script to use edgedriver.exe within a different folder
- .start "edge" url get a blank page and stop HOT 6
- -2146233088 System.ComponentModel.Win32Exception, Line 80 in ProcessExt.cs, Access denied HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seleniumbasic.