Skip to content

Commit d73a0c2

Browse files
committed
[py] fix action test failures
1 parent d783ea5 commit d73a0c2

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

py/selenium/webdriver/common/actions/action_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(self, driver, mouse=None, wheel=None, keyboard=None, duration=250)
4040
self._wheel_action = WheelActions(wheel)
4141
self.driver = driver
4242

43-
def get_device_with(self, name) -> Union["WheelInput","PointerInput","KeyInput"]:
43+
def get_device_with(self, name) -> Union["WheelInput", "PointerInput", "KeyInput"]:
4444
return next(filter(lambda x: x == name, self.devices), None)
4545

4646
@property

py/test/selenium/webdriver/common/interactions_tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ def test_can_pause(driver, pages):
261261

262262

263263
@pytest.mark.xfail_firefox
264+
@pytest.mark.xfail_remote
264265
def test_can_scroll_mouse_wheel(driver, pages):
265266
pages.load("scrollingPage.html")
266267
driver.execute_script("document.scrollingElement.scrollTop = 0")

0 commit comments

Comments
 (0)