ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

Chrome for Android: scrolling into view fails for element in nested frames #1006

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
ClickScrollingTest#testShouldBeAbleToClickElementThatIsOutOfViewInANestedFrameTh
atIsOutOfView from the Selenium test suite fails.

When test tries to click on a checkbox inside two nested frames (which aren't 
in the viewport initially), the click command comes back without an error but 
the checkbox doesn't change its "selected" state.

When watching the device executing the test, we can see the checkbox at the 
very bottom of the page. It is *almost* entirely in the viewport. And click() 
does not affect its "selected" state.

Repeated clicks without manual scrolling behave the same as the first click: 
nothing happens, no error returned. But if one manually scroll the checkbox 
entirely into the view, then webdriver's click() actually does the job and 
makes the checkbox "selected". That is why I believe the issue is related to 
scrolling but not to clicking.

Original issue reported on code.google.com by vlotoshn...@gmail.com on 18 Dec 2014 at 3:46

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:18