Skip to content

error with selenium #14

@Danilrrrr

Description

@Danilrrrr

Traceback (most recent call last):
File "/Users/danil/Desktop/python-automated-bulk-whatsapp-messages-master/script.py", line 30, in
person_title = wait.until(lambda driver:driver.find_element_by_xpath(search_box))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 86, in until
value = method(self._driver)
File "/Users/danil/Desktop/python-automated-bulk-whatsapp-messages-master/script.py", line 30, in
person_title = wait.until(lambda driver:driver.find_element_by_xpath(search_box))
AttributeError: 'WebDriver' object has no attribute 'find_element_by_xpath'

this error i see after script is opened chrome((

i try to install old ver of selenium but i have another error

help please what i do wrong???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions