Skip to content

Commit d92f075

Browse files
authored
Merge pull request #13 from hhslepicka/fix_docstrings
DOC: Fix docstring for By reference.
2 parents e933e77 + 8a9d5af commit d92f075

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

botcity/web/bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ def find_elements(self, selector: str, by: By = By.CSS_SELECTOR) -> List[WebElem
882882
883883
**Example:**
884884
```python
885-
from botcity.web import By
885+
from botcity.web.bot import By
886886
...
887887
# Find element by ID
888888
all_cells = self.find_elements("//td", By.XPATH)
@@ -905,7 +905,7 @@ def find_element(self, selector: str, by: str = By.CSS_SELECTOR) -> WebElement:
905905
906906
**Example:**
907907
```python
908-
from botcity.web import By
908+
from botcity.web.bot import By
909909
...
910910
# Find element by ID
911911
elem = self.find_element("my_elem", By.ID)

0 commit comments

Comments
 (0)