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.
Selenium version: 2.32.0
OS: Windows,Mac,Ubuntu
Browser: Firefox
Browser version: 19, 20
The attached html file has 2 li elements:
-the first li is hidden, with a padding of 1px
-the second li does not have any css properties
When is use is_displayed on the .body element of the first li, it returns True, although
it should return False
Here is the the reduced test for the html file:
from selenium import webdriver
from selenium.webdriver.common.by import By
from unittestzero import Assert
def test_element_displayed():
driver = webdriver.Firefox()
driver.get('file://<path>/test.html')
test_element = driver.find_element(By.CSS_SELECTOR, '#review-414267 .body')
Assert.false(test_element.is_displayed())
The output of this test is: http://pastebin.mozilla.org/2307727
Originally reported on Google Code with ID 5499
Reported by
trifandreialin
on 2013-04-15 13:03:50- _Attachment: [test.html](https://storage.googleapis.com/google-code-attachments/selenium/issue-5499/comment-0/test.html)_
The text was updated successfully, but these errors were encountered: