Error:
Message: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Description:
I'm following this post and official document to install and setup Selenium in headless mode on my server. When I run it locally on my server, it works, but when I access it after setting up Nginx and a Service file for my Django site, it gives me the above error. After looking at several answers, I checked these points, and they exist in my project or in my system.
- google chrome browser (version - 111)
- selenium installed
- chrome driver (version - 111)
- added chrome driver in
$PATH
above points I've added if I'm missing somthing or any other information required please let me know.