@@ -822,6 +822,7 @@ def find_element(self, by=By.ID, value: Optional[str] = None) -> WebElement:
822822 values include: By.ID, By.NAME, By.XPATH, By.CSS_SELECTOR,
823823 By.CLASS_NAME, By.TAG_NAME, By.LINK_TEXT, By.PARTIAL_LINK_TEXT,
824824 or RelativeBy.
825+ value: The locator value to use with the specified `by` strategy.
825826
826827 Returns:
827828 The first matching WebElement found on the page.
@@ -847,6 +848,7 @@ def find_elements(self, by=By.ID, value: Optional[str] = None) -> list[WebElemen
847848 values include: By.ID, By.NAME, By.XPATH, By.CSS_SELECTOR,
848849 By.CLASS_NAME, By.TAG_NAME, By.LINK_TEXT, By.PARTIAL_LINK_TEXT,
849850 or RelativeBy.
851+ value: The locator value to use with the specified `by` strategy.
850852
851853 Returns:
852854 List of WebElements matching locator strategy found on the page.
@@ -943,6 +945,7 @@ def set_window_size(self, width, height, windowHandle: str = "current") -> None:
943945 Args:
944946 width: The width in pixels to set the window to.
945947 height: The height in pixels to set the window to.
948+ windowHandle: The handle of the window to resize. Default is "current".
946949
947950 Example:
948951 >>> driver.set_window_size(800, 600)
@@ -970,6 +973,7 @@ def set_window_position(self, x: float, y: float, windowHandle: str = "current")
970973 Args:
971974 x: The x-coordinate in pixels to set the window position.
972975 y: The y-coordinate in pixels to set the window position.
976+ windowHandle: The handle of the window to reposition. Default is "current".
973977
974978 Example:
975979 >>> driver.set_window_position(0, 0)
0 commit comments