Auto-Gmail-Creator icon indicating copy to clipboard operation
Auto-Gmail-Creator copied to clipboard

Bot gets stuck at username field

Open gameuser1982 opened this issue 7 months ago • 5 comments

The bot gets stuck at username field. Gmail pre-generates a few username plus includes the option to make your own. This seems to be a new form field as the bot doesn't recognize it and tries to click next resulting in gmail throwing an error. The bot then loops back to the beginning and attemps to create a new account.

Any fix for this? Is there a way to run this without proxy so I can avoid the sms verificaiton?

gameuser1982 avatar Dec 03 '23 08:12 gameuser1982

What error does gmail throw. Can you please share.

Also to prevent proxies, comment out the line

seleniumwire_options['proxy'] = proxy_options

Should do the trick.

xD-E-A-T-Hx avatar Dec 03 '23 11:12 xD-E-A-T-Hx

What error does gmail throw. Can you please share.

Also to prevent proxies, comment out the line

seleniumwire_options['proxy'] = proxy_options

Should do the trick.

Apologies for the delay in response, and thank you again for taking the time to reply.

I just tried it again now and it seems to be going through fine. If I see it again I'll let you know and take screenshot, and then run it a second time with python debugger. Thanks for helping the community, I see you are very active here and did a lot of contribution to this bot in addition to the original dev.

gameuser1982 avatar Dec 05 '23 18:12 gameuser1982

Okay I am reopening this because I have been able to catch circumstances where the bot doesn't fill out the username field: Screenshot (1846)

In the above example the bot press to hit next instead which causes gmail to throw up an error. Eventually the bot gives up and starts over. Issue open happens from time to time. Often times the username creation page is the one the bot expects and fills it out fine.

Also some of the free proxies from that free proxy library seem to present a different sign up page which confuses the bot:

Screenshot (1842) Screenshot (1843)

gameuser1982 avatar Dec 11 '23 23:12 gameuser1982

, I see you are very active here and did a lot of contribution to this bot in addition to the original dev.

Thank you. I work in my own project and just bounce here to help members out.

I'd assume the different pages that are loaded are due to the regions the free proxies go from. I prefer to use my own private proxies for this type of thing then I'm guaranteed certain conditions like location, language etc.

Next the username issue. I'd personally say there is a problem with the bot finding the correct element. Wether this is due to the time it takes to load the page (proxy delay) or just python being python lol. Maybe change the delays to wait a bit longer. I think mine are personally set between 4 and 12 seconds. Not been on it in about 2 weeks so not 100% sure what it's set to.

xD-E-A-T-Hx avatar Dec 11 '23 23:12 xD-E-A-T-Hx

replacing "username_select":'//[@aria-posinset="3"]', with "username_select":'//[@id="view_container"]/div/div/div[2]/div/div[1]/div/form/span/section/div/div/div[1]/div[1]/div/span/div[3]',

should solve the issue Cheers

ProfoundPenguin avatar Dec 16 '23 08:12 ProfoundPenguin