Skip to content
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 "EventsTest::testRightClick" test fails on Selenium 3.x #381

Open
aik099 opened this issue Feb 18, 2024 · 1 comment
Open

The "EventsTest::testRightClick" test fails on Selenium 3.x #381

aik099 opened this issue Feb 18, 2024 · 1 comment
Labels

Comments

@aik099
Copy link
Member

aik099 commented Feb 18, 2024

When the \Behat\Mink\Tests\Driver\Js\EventsTest::testRightClick test is executed on Selenium 3.x it fails with this message:

Failed asserting that two strings are equal.
Expected :'right clicked'
Actual   :'single clicked'

The driver code seems to be written correctly (I've double-checked with the Facebook's driver version: https://github.com/php-webdriver/php-webdriver/blob/5d8e66ff849b5614015d35e99d759252e371ce26/lib/Remote/RemoteMouse.php#L100 ).

Not sure why the test fails.

More research is done in #354 (comment) .

The fix was done in #372 , but it's using Actions , which isn't implemented in the WebDriver.

@aik099
Copy link
Member Author

aik099 commented Oct 31, 2024

The https://github.com/instaclick/php-webdriver doesn't seem to be maintained anymore. Without fixing it there is no way to make right-clicking work.

I'm proposing to release this driver as-is so that developers can have almost full Selenium 3 support (without right-clicking) until the https://github.com/minkphp/webdriver-classic-driver is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant