Question

Chromedriver failed to start

Posted March 15, 2014 8.3k views
Hi, I am getting this error when I try to run my tests with selenium webdriver. selenium.common.exceptions.WebDriverException: Message: u'unknown error: Chrome failed to start: exited abnormally\n (Driver info: chromedriver=2.9.248316,platform=Linux 3.8.0-29-generic x86)' Any suggestions anyone? Thanks.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer
Hi,

Could you provide a code snippet showing how you are trying to launch it in your script? It would help us figure out what's going one.

You can also try launching it with more verbose output to see if there is more to that error message:

service_log_path = "{}/chromedriver.log".format(outputdir)
service_args = ['--verbose']
driver = webdriver.Chrome('/path/to/chromedriver',
service_args=service_args,
service_log_path=service_log_path)
Submit an Answer