Hi,
I have a working selenium program that successfully completes a task for me. This works fine when running from the console.
I am now trying to incorporate this exact same program into a flask app and I am running into some issues.
the issue
I have possibly found an error where selenium cannot load web pages when running through a flask app.
replicating it
I made the test really simple to check what the issue could be:
It will just try to load https://www.google.co.uk/
and then save a screenshot of what is there. Every time it saves a blank white screenshot (no matter what the web address is).
When running exactly the same test code through a console (still on pythonanywhere) it works fine.
somebody else already encountered it
Here we see a thread about somebody likely running into the same issue; however, they just ended up solving their issue by avoiding using selenium (something which isn't an option for me).
I would much appreciate it if somebody could try and see what's going on, please? I'm new to using Selenium and Flask as of this weekend so it may just be an issue I'm causing.
Many thanks, Tom