-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
((Locatable) element).getCoordinates().inViewPort() doesn't scroll to element in selenium-java #1527
Comments
You can use a file hosting (Dropbox, Google Drive etc) to upload large files. |
I have uploaded the war file here: http://turbobit.net/ih19hhutyehx.html |
Yes, Selenium does not support custom scrollbars. One have to click to a scrollbar element explicitly to perform scrolling. |
As far as I understand Selenium inViewPort() method does not use any custom or not custom scroller to make element visible. instead javascript is involved. also Selenium Webdriver versions before 2.35 did not have this issue. (checked with the same test page). So this defect was introduced starting Selenium 2.35 |
OK, if it's scrollable by JS then it must be a bug. |
Fixed by commit 2f59645 |
((Locatable) element).getCoordinates().inViewPort() doesn't scroll to element.
Steps to reproduce:
Actual Result: The inViewPort() is not scrolling to 15th element in to view so the test is failing starting this point. All elements before #15 were already in View by default.
The issue is reproducible starting from Selenium 2.35 till Selenium 2.49.1 inclusive. The last working version is 2.34.
I have the war file to reproduce this issue unfortunately the file size is more than 10MB allowed. Please let me know where I can upload it.
Update: The file can be downloaded from here: http://turbobit.net/ih19hhutyehx.html
The text was updated successfully, but these errors were encountered: