vic1707 / AutoPlay-PokeMeow-Discord

A bot that plays PokeMeow for you
15 stars 19 forks source link

Browser immediately closes after running script #24

Closed Sykkun closed 2 years ago

Sykkun commented 2 years ago

Describe the bug After following all the steps and running the program, it opens Firefox and logs in - but immediately crashes the browser afterwards. I have tried every single browser but the result is the same. Would love some help here!

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

vic1707 commented 2 years ago

Try running the bot without the headless and tell me what you see before it crashes plz

Sykkun commented 2 years ago

I have never ran it with the headless mode. What happens is it opens Firefox, goes to discord - logs in successfully, then it crashes without even having time to show the channel.

Sykkun commented 2 years ago

I see nothing at all after the discord login, it always crashes in that same spot.

vic1707 commented 2 years ago

it crashes during the loading time ? does it takes long to crash (~15sec)

Sykkun commented 2 years ago

When it is loading discord after logging in, it crashes. The total time to crash from the point I hit enter is around 15 seconds yes.

vic1707 commented 2 years ago

ok so it's loading but never getting to discord, that's strange

Sykkun commented 2 years ago

Yes, it opens the browser, logs in discord then instantly crashes

vic1707 commented 2 years ago

If it takes 15secs after logging to crash then it's not instant crash, those are differents ;-) Anyway it seems like the bot after logging is unable to get to your channel, dunno why nor how to solve it, sorry

Sykkun commented 2 years ago

It instantly crashes after logging in to Discord is what I said :) Very different from a literal instant crash :-)

vic1707 commented 2 years ago

You know that even if you've deleted the comment I still got the notif? Saying useless dev isn't really nice when I try to help you... I simply try to understand what problem you encounter and simply can't really help you since after logging the browser never reach discord itself... Anyway hope insulting me solved your problem... or try insulting Discord directly, sure they will help you !