php - Selenium Error communicating with the remote browser. It may have died -


i have problem selenium when try run functional tests behat , tests worked before , installed php7 instead of php5 don't know if cause of problem or not i've upgraded ubuntu 16.04.

this error message get:

enter image description here

enter image description here

anyone can me out please ?

you need download latest geckodriver here , looking @ examples @ this

it seems need set marionette true in desiered capabilities below :-

$capabilities->setcapability('marionette', true); 

example:

$host = 'http://localhost:4444/wd/hub'; $capabilities = desiredcapabilities::firefox(); $capabilities->setcapability('marionette', true); $driver = remotewebdriver::create($host, $capabilities, 5000); 

Comments