Forums

Selenium tests keeps on crashing without headless mode

I am creating a mini CI platform with pythonanywhere, however, pythonanywhere is making the selenium tests flakey. I keep on getting the error: "selenium.common.exceptions.WebDriverException: Message: unknown error: session deleted because of page crash from tab crashed". I'm not sure what I am doing wrong.

The most likely cause of that is that Chrome went over the memory limit rendering the page. If you have control over the page, try simplifying it.