@@ -63,6 +63,7 @@ def testShouldBeAbleToClickOnAnElementHiddenByOverflow(driver, pages):
63
63
64
64
65
65
@pytest .mark .xfail_firefox
66
+ @pytest .mark .xfail_remote
66
67
def testShouldBeAbleToClickOnAnElementHiddenByDoubleOverflow (driver , pages ):
67
68
pages .load ("scrolling_tests/page_with_double_overflow_auto.html" )
68
69
@@ -87,6 +88,7 @@ def testShouldNotScrollOverflowElementsWhichAreVisible(driver, pages):
87
88
88
89
89
90
@pytest .mark .xfail_firefox
91
+ @pytest .mark .xfail_remote
90
92
def testShouldNotScrollIfAlreadyScrolledAndElementIsInView (driver , pages ):
91
93
pages .load ("scroll3.html" )
92
94
driver .find_element (By .ID , "button2" ).click ()
@@ -148,6 +150,7 @@ def testShouldBeAbleToClickElementThatIsOutOfViewInAFrameThatIsOutOfView(driver,
148
150
149
151
@pytest .mark .xfail_firefox
150
152
@pytest .mark .xfail_chrome
153
+ @pytest .mark .xfail_remote
151
154
def testShouldBeAbleToClickElementThatIsOutOfViewInANestedFrame (driver , pages ):
152
155
pages .load ("scrolling_tests/page_with_nested_scrolling_frames.html" )
153
156
driver .switch_to .frame (driver .find_element (By .NAME , "scrolling_frame" ))
@@ -160,6 +163,7 @@ def testShouldBeAbleToClickElementThatIsOutOfViewInANestedFrame(driver, pages):
160
163
@pytest .mark .xfail_firefox
161
164
@pytest .mark .xfail_safari
162
165
@pytest .mark .xfail_chrome
166
+ @pytest .mark .xfail_remote
163
167
def testShouldBeAbleToClickElementThatIsOutOfViewInANestedFrameThatIsOutOfView (driver , pages ):
164
168
pages .load ("scrolling_tests/page_with_nested_scrolling_frames_out_of_view.html" )
165
169
driver .switch_to .frame (driver .find_element (By .NAME , "scrolling_frame" ))
@@ -178,16 +182,3 @@ def testShouldNotScrollWhenGettingElementSize(driver, pages):
178
182
179
183
def getScrollTop (driver ):
180
184
return driver .execute_script ("return document.body.scrollTop" )
181
-
182
-
183
- # @pytest.mark.xfail_firefox(
184
- # reason='https://github.com/w3c/webdriver/issues/408')
185
- # @pytest.mark.xfail_remote(
186
- # reason='https://github.com/w3c/webdriver/issues/408')
187
- # @pytest.mark.xfail_safari
188
- # def testShouldBeAbleToClickElementInATallFrame(driver, pages):
189
- # pages.load("scrolling_tests/page_with_tall_frame.html")
190
- # driver.switch_to.frame(driver.find_element(By.NAME, "tall_frame"))
191
- # element = driver.find_element(By.NAME, "checkbox")
192
- # element.click()
193
- # assert element.is_selected()
0 commit comments