<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>181734</bug_id>
          
          <creation_ts>2018-01-17 04:57:04 -0800</creation_ts>
          <short_desc>WebDriver: selenium test testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOfViewPort fails</short_desc>
          <delta_ts>2018-01-23 01:10:17 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebDriver</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>181728</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bburg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1389972</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2018-01-17 04:57:04 -0800</bug_when>
    <thetext>_______________________________________________________ testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOfViewPort[WebKitGTK] _______________________________________________________

driver = &lt;selenium.webdriver.webkitgtk.webdriver.WebDriver (session=&quot;b180d019-50dd-43c1-b2c8-8501430c92ac&quot;)&gt;, pages = &lt;conftest.Pages object at 0x7fb8ae33f550&gt;

    def testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOfViewPort(driver, pages):
        pages.load(&quot;coordinates_tests/page_with_element_out_of_view.html&quot;)
        element = driver.find_element(By.ID, &quot;box&quot;)
        windowHeight = driver.get_window_size()[&quot;height&quot;]
        _check_location(element.location_once_scrolled_into_view, x=10)
&gt;       assert 0 &lt;= element.location_once_scrolled_into_view[&quot;y&quot;] &lt;= (windowHeight - 100)
E       assert 429.0 &lt;= (0 - 100)

driver     = &lt;selenium.webdriver.webkitgtk.webdriver.WebDriver (session=&quot;b180d019-50dd-43c1-b2c8-8501430c92ac&quot;)&gt;
element    = &lt;selenium.webdriver.remote.webelement.WebElement (session=&quot;b180d019-50dd-43c1-b2c8-8501430c92ac&quot;, element=&quot;node-0353B636-565B-45C0-839A-FBA36B4FDE42&quot;)&gt;
pages      = &lt;conftest.Pages object at 0x7fb8ae33f550&gt;
windowHeight = 0

WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/position_and_size_tests.py:55: AssertionError</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391992</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2018-01-23 01:10:17 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 181728 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>