You are here

public function Session::switchToWindow in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/behat/mink/src/Session.php \Behat\Mink\Session::switchToWindow()

Switches to specific browser window.

Parameters

string $name window name (null for switching back to main window):

File

vendor/behat/mink/src/Session.php, line 302

Class

Session
Mink session.

Namespace

Behat\Mink

Code

public function switchToWindow($name = null) {
  $this->driver
    ->switchToWindow($name);
}