-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The "TimeoutTest::testInvalidTimeoutSettingThrowsException" test fails on Selenium 3.x #397
Comments
@lattaai1 , at least don't replace unchanged code with comments to help reviewers understand what's actually was changed. |
Isn't this driver supposed to be for Selenium 2 only (hence why the new driver was written, which supports Selenium 2-4)? I don't get why we want to support Selenium 3 on this driver then, feels like a lot of duplicate work for nothing. |
Because the API of Selenium Server 3 and Selenium Server 2 are quite similar (or https://github.com/instaclick/php-webdriver deals with inconsistencies internally) the MinkSelenium2Driver works just fine with Selenium Server 3.
Because no other WebDriver-aware Mink driver was available at the time and we've used what we had. The only problem was the frame, window, and right-clicking support. Thanks to the https://github.com/minkphp/webdriver-classic-driver code I was able to fix frame and window support. As for right-clicking, I don't plan to fix it (too complicated fix). If I need right-clicking, then I'll switch to https://github.com/minkphp/webdriver-classic-driver driver. This is fixed now and we can make a release and stop this driver development or drastically minimize it. |
When the
\Behat\Mink\Tests\Driver\Custom\TimeoutTest::testInvalidTimeoutSettingThrowsException
test is executed on Selenium 3.x it fails with this message:This test was passing for Selenium 3 before and I have no idea why it's no passing now.
The text was updated successfully, but these errors were encountered: