You are here

public function Session::resizeWindow in Zircon Profile 8

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

Set the dimensions of the window.

Parameters

int $width set the window width, measured in pixels:

int $height set the window height, measured in pixels:

string $name window name (null for the main window):

File

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

Class

Session
Mink session.

Namespace

Behat\Mink

Code

public function resizeWindow($width, $height, $name = null) {
  $this->driver
    ->resizeWindow($width, $height, $name);
}