You are here

public function BrowserWindowTrait::switchToWindow in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserWindowTrait.php \Zumba\GastonJS\Browser\BrowserWindowTrait::switchToWindow()

Change the browser focus to another window

Parameters

$windowHandleName:

Return value

mixed

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserWindowTrait.php, line 32

Class

BrowserWindowTrait
Class BrowserWindowTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function switchToWindow($windowHandleName) {
  return $this
    ->command('switch_to_window', $windowHandleName);
}