Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verfication button not in view #1

Open
Jopo-JP opened this issue Sep 15, 2021 · 0 comments
Open

Verfication button not in view #1

Jopo-JP opened this issue Sep 15, 2021 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@Jopo-JP
Copy link

Jopo-JP commented Sep 15, 2021

Hi there,

i was learning your script and tested it and works pretty well.

But i noticed, that if the button for the verfication e-mail is not in view of the browser, the script will fail.

This happens, on a smaller screen like 720p.

Traceback (most recent call last):
  File "C:\Users\nikot\Downloads\Mega-Account-Creator-main\mega.py", line 72, in <module>
    driver.find_element_by_xpath("//*[@id='bodyel']/section[1]/div[4]/div[1]/div[2]/button[1]").click()
  File "C:\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 394, in find_element_by_xpath
    return self.find_element(by=By.XPATH, value=xpath)
  File "C:\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 976, in find_element
    return self.execute(Command.FIND_ELEMENT, {
  File "C:\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "C:\Python39\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: chrome not reachable
  (Session info: chrome=93.0.4577.82)
@thelinuxuser-choice thelinuxuser-choice added bug Something isn't working enhancement New feature or request labels Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
@Jopo-JP @thelinuxuser-choice and others