ExistingSiteSelenium2DriverTestBase example produces an UnsupportedDriverActionException exception
Describe the bug
The example for using ExistingSiteSelenium2DriverTestBase utilized $this->drupalGet(...)
. This results in an exception because the Selenium2Driver does not support retrieving headers.
To Reproduce Steps to reproduce the behavior:
- Follow setup instructions based on example phpunit.xml.dist and example ExistingSiteSelenium2DriverTestBase test.
- Run a test that uses
$this->drupalGet(...)
. - Verify you get the exception Behat\Mink\Exception\UnsupportedDriverActionException: Response headers are not available from Behat\Mink\Driver\Selenium2Driver.
Expected behavior
Expected the test to run successfully because $this->drupalGet(...)
is provided in an example.