Bug 181734

Summary: WebDriver: selenium test testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOfViewPort fails
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bburg
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Carlos Garcia Campos
Reported 2018-01-17 04:57:04 PST
_______________________________________________________ testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOfViewPort[WebKitGTK] _______________________________________________________ driver = <selenium.webdriver.webkitgtk.webdriver.WebDriver (session="b180d019-50dd-43c1-b2c8-8501430c92ac")>, pages = <conftest.Pages object at 0x7fb8ae33f550> def testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOfViewPort(driver, pages): pages.load("coordinates_tests/page_with_element_out_of_view.html") element = driver.find_element(By.ID, "box") windowHeight = driver.get_window_size()["height"] _check_location(element.location_once_scrolled_into_view, x=10) > assert 0 <= element.location_once_scrolled_into_view["y"] <= (windowHeight - 100) E assert 429.0 <= (0 - 100) driver = <selenium.webdriver.webkitgtk.webdriver.WebDriver (session="b180d019-50dd-43c1-b2c8-8501430c92ac")> element = <selenium.webdriver.remote.webelement.WebElement (session="b180d019-50dd-43c1-b2c8-8501430c92ac", element="node-0353B636-565B-45C0-839A-FBA36B4FDE42")> pages = <conftest.Pages object at 0x7fb8ae33f550> windowHeight = 0 WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/position_and_size_tests.py:55: AssertionError
Attachments
Carlos Garcia Campos
Comment 1 2018-01-23 01:10:17 PST
*** This bug has been marked as a duplicate of bug 181728 ***
Note You need to log in before you can comment on or make changes to this bug.