MinkSelenium2Driver icon indicating copy to clipboard operation
MinkSelenium2Driver copied to clipboard

Selenium2 (webdriver) driver for Mink framework

Results 82 MinkSelenium2Driver issues
Sort by recently updated
recently updated
newest added

Fixes this error from the https://github.com/minkphp/MinkSelenium2Driver/pull/383: ``` Behat\Mink\Tests\Driver\Basic\IFrameTest::testIFrame WebDriver\Exception\InvalidArgument: data did not match any variant of untagged enum FrameId at line 3 column 1 Build info: version: '3.141.59', revision: 'e82be7d358',...

Fixes this error from the https://github.com/minkphp/MinkSelenium2Driver/pull/383: ``` Behat\Mink\Tests\Driver\Js\WindowTest::testWindow WebDriver\Exception\NoSuchWindow: Unable to locate window: Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53' System info: host: 'fv-az697-197', ip: '10.1.0.44', os.name: 'Linux', os.arch:...

### Technical limitations * Selenium 2 can switch windows either by `name` or by `handle` (see https://www.selenium.dev/documentation/legacy/json_wire_protocol/#sessionsessionidwindow) * Selenium 3 can switch windows by `handle` only (see https://www.w3.org/TR/webdriver2/#switch-to-window) ### Switching...

Fixes this error from the https://github.com/minkphp/MinkSelenium2Driver/pull/383: ``` 2) Behat\Mink\Tests\Driver\Js\ChangeEventTest::testSetValueChangeEvent with data set "file" ('the-file', '/home/runner/work/MinkSeleniu...e1.txt', '/home/runner/work/MinkSeleniu...e2.txt') WebDriver\Exception\InvalidArgument: File not found: /home/runner/work/MinkSelenium2Driver/MinkSelenium2Driver/vendor/mink/driver-testsuite/web-fixtures/file1.txt Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53' System...

## Observations Used `selenium/standalone-firefox` Docker image chooses the Firefox version like so: * Selenium 2.53.1 = Firefox 47 * Selenium 3.141.59 = Firefox 92 Not sure why, but some of...

The usage example in the README.md file is quite outdated: * it has a `Selenium\Client` class import (likely from Selenium 1 driver), that doesn't exist in this driver * it...

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...

Fixes to enable compatibility with WebDriver. Here are the modifications running against the full set of Drupal core tests: https://github.com/Lullabot/drupal-webdriver/pull/2 To run against newer browsers/versions of selenium that have dropped...

Closes https://github.com/minkphp/MinkSelenium2Driver/issues/379 Added code remains uncovered by tests because we're testing on Selenium 2 only.

When the `\Behat\Mink\Tests\Driver\Custom\TimeoutTest::testInvalidTimeoutSettingThrowsException` test is executed on Selenium 3.x it fails with this message: ``` Failed asserting that exception of type "WebDriver\Exception\InvalidArgument" matches expected exception "\Behat\Mink\Exception\DriverException". Message was: "invalid argument:...