BrowserTestBase::$minkDefaultDriverArgs

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::minkDefaultDriverArgs
  2. 10 core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::minkDefaultDriverArgs
  3. 11.x core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::minkDefaultDriverArgs

Mink default driver params.

If it's an array its contents are used as constructor params when default Mink driver class is instantiated.

Can be overridden using the environment variable MINK_DRIVER_ARGS. In this case that variable should be a JSON array, for example: '["firefox", null, "http://localhost:4444/wd/hub"]'.

Type: array

File

core/tests/Drupal/Tests/BrowserTestBase.php, line 161

Class

BrowserTestBase
Provides a test case for functional Drupal tests.

Namespace

Drupal\Tests

Code

protected $minkDefaultDriverArgs;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.