behat mink selenium2 errors

revision 4650e1399b250e507f99e18ebcd12e5f4370892d

raw

phork0.rst

Error: Unable to create new service: GeckoDriverService

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

Reason

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/

History