protonMailGenerator icon indicating copy to clipboard operation
protonMailGenerator copied to clipboard

Error

Open alphanumericaltycoon opened this issue 3 years ago • 0 comments

Hi,

Just wondering if you're able to help me get past the below error. When I run the script it opens up chrome and loads up protonmail.com but on the terminal presents the below errors. I am running Kali Linux.

`┌──(kali㉿kali)-[~/Desktop/protonMailGenerator] └─$ python3 emails.py
Traceback (most recent call last): File "/home/kali/Desktop/protonMailGenerator/emails.py", line 9, in driver.find_element_by_xpath('//[@title="Sign Up"]').click() File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webdriver.py", line 394, in find_element_by_xpath return self.find_element(by=By.XPATH, value=xpath) File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element return self.execute(Command.FIND_ELEMENT, { File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//[@title="Sign Up"]"} (Session info: chrome=90.0.4430.212)

alphanumericaltycoon avatar Aug 03 '21 22:08 alphanumericaltycoon