Skip to content

Ensure ChromeDriver is started for all supported DriverInterface actions

This fixes test failures in Behat\Mink\Tests\Driver\TestCase::testSetBasicAuth() and friends, where ChromeDriver test runs would fail if the session had not yet been started.

Introduces an ensureStarted() method which starts driver unless already started, and calls this method for the supported method calls on a fresh driver as per Mink's DriverInterface docs.

Refs #103 (closed), #94 (closed).

Closes #94 (closed).

This MR replaces !92 (closed)

Edited by Chris Burgess

Merge request reports