giorgiosironi / phpunit-selenium

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

Chrome & ChromeDriver 75 (W3C mode) support #436

Open JaZo opened 5 years ago

JaZo commented 5 years ago

Chrome & ChromeDriver 75 now default to W3C mode. This package needs be updated to support both the (new) W3C mode and the (old) JsonWireProtocol. More info can be found in https://github.com/elgalu/docker-selenium/issues/327

captain-igloo commented 5 years ago

In the interim the default can be changed like this:

$this->setDesiredCapabilities([
    'goog:chromeOptions' => [
        'w3c' => false
    ]
]);
okainov commented 4 years ago

Isn't it fixed yet? Basically this issue makes the default behavior completely not working, I spent half an hour trying to understand why I cannot find any elements playing with selectors, wait functions and so on... And this just doesn't work our of the box... That's very sad.

And this is not a feature request per se but a critical bug just breaking the behavior...

JaZo commented 4 years ago

This project indeed needs quit some work to bring it up to par with the latest standards. Because of that we've switched to https://github.com/php-webdriver/php-webdriver, which is actively maintained, and wrote our own simple PHPUnit + Webdriver testcase.