AttributeError: 'WebDriver' object has no attribute 'find_elements_by_tag_name' my code - github.com/eminsk/captcha
AttributeError: 'WebDriver' object has no attribute 'find_elements_by_tag_name'
find_element_by_* and find_elements_by_* are now removed.
Refer:https://github.com/SeleniumHQ/selenium/blob/a4995e2c096239b42c373f26498a6c9bb4f2b3e7/py/CHANGES
Use this instead:
findElement(By.TAG_NAME,"HTML Tag Name")
On top, you will have to do an import:
from selenium.webdriver.common.by import By
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With