Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "E:\Whatsapp MSGs\PyWhatsapp-master\PyWhatsapp.py", line 298, in <module>
  3. sender()
  4. File "E:\Whatsapp MSGs\PyWhatsapp-master\PyWhatsapp.py", line 226, in sender
  5. browser.find_element_by_xpath('//*[@id="content"]/div/div/div/a').click()
  6. File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 394, in find_element_by_xpath
  7. return self.find_element(by=By.XPATH, value=xpath)
  8. File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 976, in find_element
  9. return self.execute(Command.FIND_ELEMENT, {
  10. File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
  11. self.error_handler.check_response(response)
  12. File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
  13. raise exception_class(message, screen, stacktrace)
  14. selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="content"]/div/div/div/a"}
  15. (Session info: chrome=78.0.3904.108)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement