Skip to content

Commit 4560b44

Browse files
committed
switch_to_alert
1 parent e04d403 commit 4560b44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PHPWebDriver/WebDriverSession.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ public function deleteWindow($curl_opts = array()) {
160160
}
161161

162162
public function switch_to_alert() {
163+
$this->alert()
163164
require_once('WebDriverAlert.php');
164165
return new PHPWebDriver_WebDriverAlert($this);
165166
}

0 commit comments

Comments
 (0)