You are here

public function VarbaseContext::beforeStepMaximizeWindow in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.5

Same name and namespace in other branches
  1. 8.4 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::beforeStepMaximizeWindow()
  2. 8.6 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::beforeStepMaximizeWindow()

Maximize the window before scenario.

@BeforeStep @javascript

File

tests/features/bootstrap/VarbaseContext.php, line 1478

Class

VarbaseContext
Defines application features from the specific context.

Code

public function beforeStepMaximizeWindow() {
  $this
    ->getSession()
    ->getDriver()
    ->maximizeWindow();
}