Open GoogleCodeExporter opened 9 years ago
Same for me
Original comment by maxim.ap...@gmail.com
on 9 Jul 2013 at 3:58
Original comment by a.u.savchuk
on 10 Jul 2013 at 11:33
Is it a known issue?
Original comment by songw...@gmail.com
on 17 Jul 2013 at 2:58
Reproduced using provided info (with small changes).
Last chromedriver hangs at getTitle after correct switching to newly opened
window.
Original comment by a.u.savchuk
on 31 Jul 2013 at 7:20
Attachments:
Why would this be a medium priority. There is no work around apparently
Running chromedriver 2.6 against Chrome 31
The switchto window(windowhandle) will not allow any actions against the
additional Window. Therefore any tests that interact with multiple window
timeout
Original comment by kk859...@gmail.com
on 13 Nov 2013 at 6:26
Thanks for the report and the test case. REPRO CASE:
<html>
<head>
<script type="text/javascript">
function open_win()
{
window.open("about:blank").document.write("<div>MOO</div>");
}
</script>
</head>
<body>
<form>
<input id="btnopen" type="button" value="open new window" onclick="open_win()">
</form>
</body>
</html>
def test():
... d = webdriver.Remote('http://127.0.0.1:9515', {})
... d.get('http://localhost:12345/page.html')
... d.find_element_by_id('btnopen').click()
... d.switch_to_window(d.window_handles[-1])
... d.title
HANG!
Investigating what the root issue is...
Original comment by kkania@chromium.org
on 13 Nov 2013 at 9:36
seems like chromedriver's new connection load status detector is broken
it is trying to determine page load by appending a iframe that calls to
about:blank during onload. but the document.write call overwrites that it seems
Original comment by kkania@chromium.org
on 13 Nov 2013 at 9:48
HACKY WORKAROUND:
var w = window.open("about:blank");
window.setTimeout(function() { w.document.write("<div>MOO</div>"); }, 1000);
Original comment by kkania@chromium.org
on 13 Nov 2013 at 10:00
[deleted comment]
[deleted comment]
Will chrome team provide some fix?
I have similar problem with chrome extension.
I open testing url in the browser and then extension asynchronically execute:
chrome.tabs.create(...)
with another testing url as argument.
In test i wait for url to be changed:
wait.until(lambda driver: driver.current_url == ...)
but this line leads to error after 10 minutes of hanging:
Message: u'timeout: Timed out receiving message from renderer: 600.000\n
(Session info: chrome=33.0.1750.146)\n (Driver info:
chromedriver=2.9.248315,platform=Windows NT 6.1 SP1 x86_64)'
I have already created new issue:
http://code.google.com/p/chromedriver/issues/detail?id=722
In the issue i wrote about NpApi extension. Now we uploaded new extension
without NpApi to google market, so it isn't related to NpApi.
Original comment by WarmAndS...@gmail.com
on 2 Apr 2014 at 2:02
Original comment by samu...@chromium.org
on 21 Feb 2015 at 12:19
Issue 722 has been merged into this issue.
Original comment by agau...@chromium.org
on 2 Apr 2015 at 2:04
Original issue reported on code.google.com by
songw...@gmail.com
on 26 Jun 2013 at 6:16Attachments: