giorgiosironi / phpunit-selenium

Selenium RC integration for PHPUnit
http://www.phpunit.de/
Other
602 stars 271 forks source link

PHPUnit_Extensions_Selenium2TestCase_WebDriverException: Error communicating with the remote browser. It may have died. #380

Open ashikislam opened 8 years ago

ashikislam commented 8 years ago

When I tried to automated test using ‪#‎Selenium‬ with ‪#‎PHPUnit‬ , it is showing http://prntscr.com/bdzict error, my source code : http://prntscr.com/bdzict . What is the reason for that?

giorgiosironi commented 8 years ago

PHPUnit and the Selenium Server communicate with HTTP requests, and in this case there was a connection error between the two. You should take a look at the output of the Selenium Server (it's written out in the console where you launch the .jar) to get more details.

ashikislam commented 8 years ago

I have downloaded safaridriver extension and change setBrowser('safari'); Now it is working fine. Though it is not connected other browsers :/