Skip to content

Commit f518751

Browse files
committed
update docs
1 parent bc7e940 commit f518751

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/image.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Niobium adds computer vision to Selenium.
77
You can locate an image in the page using the following method:
88

99
```python
10-
find_image(filename)
10+
WebDriver.find_image(filename: str) -> ImageElement
1111
```
1212

1313
And to find multiple images (this method returns a list)
1414

1515
```python
16-
find_images(filename)
16+
WebDriver.find_images(filename: str) -> list[ImageElement]
1717
```
1818

1919
These methods have the same behavior than the classic `find_element` methods but they return an `ImageElement` instead of a `WebElement`.

0 commit comments

Comments
 (0)