Skip to content

Commit 9f8e0b8

Browse files
Add types to set_window_position parameters (#13786)
1 parent 2b59996 commit 9f8e0b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/remote/webdriver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ def get_window_size(self, windowHandle: str = "current") -> dict:
874874

875875
return {k: size[k] for k in ("width", "height")}
876876

877-
def set_window_position(self, x, y, windowHandle: str = "current") -> dict:
877+
def set_window_position(self, x: float, y: float, windowHandle: str = "current") -> dict:
878878
"""Sets the x,y position of the current window. (window.moveTo)
879879
880880
:Args:

0 commit comments

Comments
 (0)