You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
What steps will reproduce the problem?
1. Use a simple div with opacity:0 (<div style="opacity:0;width:10px;height:10px"></div>).
2. Use the generated isDisplayed atom from the webdriver folder (https://code.google.com/p/selenium/source/browse/javascript/webdriver/atoms).
3. The atom result is true, meaning the div element should be visible.
What is the expected output? What do you see instead?
The isDisplayed atom should answer false.
Chrome-driver / Firefox-driver or IE-driver are all answering false as expected.
Solution:
The code of the isDisplayed atom is calling isShown with parameter ignoreOpacity as
true (https://code.google.com/p/selenium/source/browse/javascript/webdriver/atoms/inject/dom.js#148).
It should be change to false.
If this is an acceptable solution, I can prepare a simple patch.
Thank you
Reported by Mathieu.Heyd on 2015-01-20 16:09:46
The text was updated successfully, but these errors were encountered:
Originally reported on Google Code with ID 8407
Reported by
Mathieu.Heyd
on 2015-01-20 16:09:46The text was updated successfully, but these errors were encountered: