Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs

Problem with Flask and Selenium [SOLVED]


Hey guys,

my current project is a discord bot that can start my Minecraft server (which Im hosting on exaroton) with a message like !start in my server.

OK, that's not the problem. But I have a keepalive file in which I host a small flask web app so that I can ping that site from time to time and see if its still working (and keep my bot running for free don't tell anyone pls).

So here's my problem: my bot needs to open a browser, login and click a button. I use Selenium and it works fine but my Flask web app just stops working. When I comment out the Selenium part everything works fine again...

Is there a problem with running Flask and Selenium at the same time? Thanks for any help. I don't know if I need to upload my code.

2 years ago
You are viewing a single comment. View All