Skip to content
← Back to Community
selenium + flask
Profile icon
churongcon

Hello,
I have tried to use seleium with flask

Hmmmm.... We Couldn't Reach Your Repl
Make sure your repl has a port open and is ready to receive HTTP traffic.

https://selenium.churongcon.repl.co/

Help me!

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Profile icon
WesleyBian
Profile icon
churongcon
Comments
hotnewtop
Profile icon
Coder100

Maybe waitress isn't working? Try replacing the final code to:

if __name__ == '__main__': app.run(host = '0.0.0.0', port = 8080)
Profile icon
RYANTADIPARTHI

Instead of serve, try using run.

Screenshot 2020-11-08 at 12.45.43 PM

app.run(# code)
Profile icon
SUHASTADIPARTH1

Do this:

if __name__ == '__main__': app.run(host='0.0.0.0', port=8080) # you should do app.run

Screenshot 2020-11-08 at 12.46.29 PM