Skip to content

Commit

Permalink
Update LegacyWindow.php (#9)
Browse files Browse the repository at this point in the history
Fix it so that it works!
  • Loading branch information
alexpott authored Feb 20, 2024
1 parent 4188cd7 commit ca66013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebDriver/LegacyWindow.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected function obsoleteMethods()
*/
public function __construct($url, $windowHandle = null)
{
parent::__construct($url);
parent::__construct($url . '/' . $windowHandle);

$this->windowHandle = $windowHandle;
}
Expand Down

0 comments on commit ca66013

Please sign in to comment.