Skip to content

Commit ca66013

Browse files
authored
Update LegacyWindow.php (#9)
Fix it so that it works!
1 parent 4188cd7 commit ca66013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WebDriver/LegacyWindow.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function obsoleteMethods()
6060
*/
6161
public function __construct($url, $windowHandle = null)
6262
{
63-
parent::__construct($url);
63+
parent::__construct($url . '/' . $windowHandle);
6464

6565
$this->windowHandle = $windowHandle;
6666
}

0 commit comments

Comments
 (0)