OS: CentOS 7.3
Selenium Version: 2.53.1
Browser: Chrome v62.0.3202.75
ChromeDriver: v2.33.506092
Can someone help me ? thank you very much!
This is a question rather than an issue. Please send questions to the selenium user group.
For issues please provide a concise reproducible test case and describe what results you are seeing and what results you expect. See CONTRIBUTING.md
I have same problem. I'm using this script to install all dependencies: https://gist.github.com/ziadoz/3e8ab7e944d02fe872c3454d17af31a5
Then I run:
chromedriver --url-base=/wd/hub --log-path=/tmp/chromedriver.log
Starting ChromeDriver 2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4) on port 9515
Only local connections are allowed.
And when I start functional test with codeception I get:
[Facebook\WebDriver\Exception\UnknownServerException]
unknown error: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 4.6.3-coreos x86_64)
@lazb i get the same on Ubuntu, ticket with Chromedriver project https://bugs.chromium.org/p/chromedriver/issues/detail?id=2123 if you can provide any more data, please do
@ambirag I've checked linked issue and for me actually it was problem that in codeception I forgot to add --no-sandbox arg
chromeOptions:
args: ["--headless", "--disable-gpu", "--window-size=1920,1080", "--no-sandbox"]
binary: "/usr/bin/google-chrome-stable"
Had they same strange problem - adding --no-sandbox to chromeOptions did the trick.
Thanks lazb for mentioning.
Most helpful comment
@ambirag I've checked linked issue and for me actually it was problem that in codeception I forgot to add --no-sandbox arg
chromeOptions: args: ["--headless", "--disable-gpu", "--window-size=1920,1080", "--no-sandbox"] binary: "/usr/bin/google-chrome-stable"