Skip to content

Commit 3a11bc7

Browse files
committed
fix return type doc
1 parent f2a48b1 commit 3a11bc7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

py/selenium/webdriver/remote/shadowroot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def find_elements(self, by: str = By.ID, value: str = None):
101101
102102
Returns:
103103
-------
104-
WebElement
104+
List[WebElement]
105105
list of `WebElements` matching locator strategy found on the page.
106106
"""
107107
if by == By.ID:

py/selenium/webdriver/remote/webdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ def find_elements(self, by=By.ID, value: Optional[str] = None) -> List[WebElemen
920920
921921
Returns:
922922
-------
923-
WebElement
923+
List[WebElement]
924924
list of `WebElements` matching locator strategy found on the page.
925925
"""
926926
by, value = self.locator_converter.convert(by, value)

py/selenium/webdriver/remote/webelement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ def find_elements(self, by=By.ID, value=None) -> List[WebElement]:
623623
624624
Returns:
625625
-------
626-
WebElement
626+
List[WebElement]
627627
list of `WebElements` matching locator strategy found on the page.
628628
"""
629629
by, value = self._parent.locator_converter.convert(by, value)

0 commit comments

Comments
 (0)