Hello,
I'm trying to automate some Selenium tests and run them in an Azure DevOps pipeline.
> raise exception_class(message, screen, stacktrace)
E selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
E (unknown error: DevToolsActivePort file doesn't exist)
E (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
I'm using webdriver-manager to load the appropriate driver.
Is this because it's running as root?
I've tried passing --headless and --no-sandbox, to no avail.
Would really appreciate any tips.
Thanks,
Andy