I'm getting the same error message about Chrome having crashed and "unknown error: DevToolsActivePort file doesn't exist".
Actual error message:
<pre><code>selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: crashed
(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.15.0-1017-aws x86_64)</code></pre>
My code has not been changed recently and it appears to have suddenly started failing with this error for the last few days. The last time I see a successful run was the morning of August 24, around 9:45 UTC.
The same code runs from my local machine with no issue. Did something change with chromium/chromedriver? I am on system image 'fishnchips'.