Behat\Mink\Exception\DriverException: Could not open connection: Unable to create new service: GeckoDriverService Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T16:15:40.131Z' System info: host: 'gpc-rom', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.12.3cw', java.version: '1.8.0_131' Driver info: driver.version: unknown Caused by WebDriver\Exception\SessionNotCreated: Unable to create new service: GeckoDriverService Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T16:15:40.131Z' System info: host: 'gpc-rom', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.12.3cw', java.version: '1.8.0_131' Driver info: driver.version: unknown
Selenium server does not know where to find the firefox gecko driver binary.
Note that you CANNOT simple use /usr/bin/firefox, you need https://github.com/mozilla/geckodriver/
Behat\Mink\Exception\DriverException: Could not open connection: Timed out waiting for driver server to start. Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T16:15:40.131Z' System info: host: 'gpc-rom', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.12.3cw', java.version: '1.8.0_131' Driver info: driver.version: unknown Caused by WebDriver\Exception\UnknownError: Timed out waiting for driver server to start. Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T16:15:40.131Z' System info: host: 'gpc-rom', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.12.3cw', java.version: '1.8.0_131' Driver info: driver.version: unknown
I tried to use chromium-browser directly, which is wrong:
$ java -jar -Dwebdriver.chrome.driver=/usr/bin/chromium-browser selenium-server-standalone-3.6.0.jar
Use the chromium webdriver:
$ sudo apt install chromium-chromedriver $ java -jar -Dwebdriver.chrome.driver=/usr/lib/chromium-browser/chromedriver selenium-server-standalone-3.6.0.jar
https://github.com/mozilla/geckodriver/releases
$ java -jar -Dwebdriver.gecko.driver=/home/cweiske/bin/geckodriver selenium-server-standalone-3.6.0.jar