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

GMail creation broken on username stage #20

Open
xstasi opened this issue Jan 11, 2025 · 3 comments
Open

GMail creation broken on username stage #20

xstasi opened this issue Jan 11, 2025 · 3 comments

Comments

@xstasi
Copy link

xstasi commented Jan 11, 2025

Hello there! It seems gmail changed their website enough to break this automation.

I get the following error>

  File "ninjemail/ninjemail/ninjemail_manager.py", line 228, in create_gmail_account
    return gmail.create_account(driver,
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^
                                sms_key,
                                ^^^^^^^^
    ...<5 lines>...
                                day,
                                ^^^^
                                year)
                                ^^^^^
  File "ninjemail/ninjemail/email_providers/gmail.py", line 101, in create_account
    username_input = WebDriverWait(driver, WAIT).until(EC.presence_of_element_located((By.NAME, 'Username')))
  File "snip/lib/python3.13/site-packages/selenium/webdriver/support/wait.py", line 105, in until
    raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:193:5
NoSuchElementError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:511:5
dom.find/</<@chrome://remote/content/shared/DOM.sys.mjs:136:16
@david96182
Copy link
Owner

Hi, I tried to reproduce this, and it passed the username step with no errors.

@xstasi
Copy link
Author

xstasi commented Jan 13, 2025

Hi David, could it be a localisation issue? could you please give me a few pointers on how to troubleshoot this? thanks!

@david96182
Copy link
Owner

Yes, that could be the issue. You can try using proxies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants