function BrowserTestBase::registerSessions
Registers additional Mink sessions.
Tests wishing to use a different driver or change the default driver should override this method.
// Register a new session that uses the MinkPonyDriver.
$pony = new MinkPonyDriver();
$session = new Session($pony);
$this->mink
  ->registerSession('pony', $session);1 call to BrowserTestBase::registerSessions()
- BrowserTestBase::initMink in core/tests/ Drupal/ Tests/ BrowserTestBase.php 
- Initializes Mink sessions.
File
- 
              core/tests/ Drupal/ Tests/ BrowserTestBase.php, line 353 
Class
- BrowserTestBase
- Provides a test case for functional Drupal tests.
Namespace
Drupal\TestsCode
protected function registerSessions() {
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
