Skip to content

Commit 08a1917

Browse files
[py] fix flake8 errors from PRs
1 parent 60db0c1 commit 08a1917

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎py/selenium/webdriver/common/actions/wheel_input.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ def create_scroll(self, x: int, y: int, delta_x: int,
3838
if isinstance(origin, WebElement):
3939
origin = {"element-6066-11e4-a52e-4f735466cecf": origin.id}
4040
self.add_action({"type": "scroll", "x": x, "y": y, "deltaX": delta_x,
41-
"deltaY": delta_y, "duration": duration,
41+
"deltaY": delta_y, "duration": duration,
4242
"origin": origin})
4343

44-
def create_pause(self, pause_duration: Union[int,float]) -> None:
44+
def create_pause(self, pause_duration: Union[int, float]) -> None:
4545
self.add_action(
4646
{"type": "pause", "duration": int(pause_duration * 1000)})

0 commit comments

Comments
 (0)