Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Session.php

function 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|null $name window name (null for the main window):

Return value

void

File

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

Class

Session
Mink session.

Namespace

Behat\Mink

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal