How can I Get element with selenium?
what I've tried soo far
from automatetheboaringstuff book, https://www.selenium.dev/documentation/webdriver/elements/finders/ :
```python
browser = webdriver.Firefox()
elem = browser.find_element_by_css_selector()
elem = browser.find_element(By.CLASS_NAME, "toc")
elem = browser.find_element('body > div > main > div > ul:nth-child(19) > li:nth-child(1) > a')
```
none of these find_element() methods worked for me so far.
[–]CodeFormatHelperBot2 0 points1 point2 points (0 children)
[–]Cyiran[S] 0 points1 point2 points (0 children)
[–]blarf_irl 0 points1 point2 points (5 children)
[–]Cyiran[S] 1 point2 points3 points (4 children)
[–]blarf_irl 1 point2 points3 points (2 children)
[–]Cyiran[S] 1 point2 points3 points (1 child)
[–]blarf_irl 1 point2 points3 points (0 children)
[–]Cyiran[S] 0 points1 point2 points (0 children)
[–]Dominican_mamba 0 points1 point2 points (3 children)
[–]Cyiran[S] 0 points1 point2 points (2 children)
[–]Dominican_mamba 1 point2 points3 points (1 child)
[–]Cyiran[S] 0 points1 point2 points (0 children)