Open GoogleCodeExporter opened 8 years ago
Hello,
My workaround:
Add to WebDriver.php
public function getWindowHandles() {
$response = $this->execute_rest_request_GET($this->requestURL . "/window_handles");
return $this->extractValueFromJsonResponse($response);
}
Example:
$allwindows = $webdriver->getWindowHandles();
$last_window = end($allwindows);
$webdriver->selectWindow($last_window); // popup window
Good luck
Original comment by sidlausk...@gmail.com
on 24 Jun 2012 at 2:40
Getting window handles & selecting windows should be fixed in revision 68 and
revision 69.
But popups from HTTP basic/digest authentication (for SSL) is not covered. In
fact even Selenium 2 / WebDriver itself has no support for this. May have to
use browser specific workarounds (Firefox profile settings), or AutoIt, or
proxies.
Original comment by manga...@gmail.com
on 9 Jun 2013 at 7:52
Original issue reported on code.google.com by
chelladu...@photoninfotech.net
on 19 Jun 2012 at 7:12