Forums

Chrome Headless Not Working

i am gettong the follwing error while using selenium on my web app with pyvirtualdisplay, can anyone help please

WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/chromium-browser is no longer running, so ChromeDriver is assuming that Chrome has crashed.) (Driver info: chromedriver=2.42.591071 (0b695ff80972cc1a65a5cd643186d2ae582cd4ac),platform=Linux 5.4.0-1020-aws x86_64)

We can activate our new, experimental virtualisation system for your account which should help with that. Let us know if you'd like us to do that.

See this forum post for how to use it.

i have the same problem can you active my account pls?

It's active for everyone now. You will find an example how to use it here: https://help.pythonanywhere.com/pages/selenium