diff --git a/lib/WebDriver/LegacyWindow.php b/lib/WebDriver/LegacyWindow.php index 97010a2..e641b9e 100644 --- a/lib/WebDriver/LegacyWindow.php +++ b/lib/WebDriver/LegacyWindow.php @@ -60,7 +60,7 @@ protected function obsoleteMethods() */ public function __construct($url, $windowHandle = null) { - parent::__construct($url); + parent::__construct($url . '/' . $windowHandle); $this->windowHandle = $windowHandle; }