ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

no such window: target window already closed\nfrom unknown error: web view not found #346

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Message: u'no such window: target window already closed\nfrom unknown error: 
web view not found\n  (Session info: chrome=29.0.1508.0)\n  (Driver info: 
chromedriver=0.8,platform=Linux 3.2.5-gg1130 x86_64)'

renderer/browser does not crash when this exception occurs, and I couldn't find 
a site that repros this consistently, leading me to think it's a race condition 
in page load logic. But you can easily hit this if you navigate to large number 
of URLs.

Original issue reported on code.google.com by fra...@chromium.org on 17 May 2013 at 11:52

GoogleCodeExporter commented 9 years ago
This is also both on desktop (linux) and Android with ToT server.

Original comment by fra...@chromium.org on 17 May 2013 at 11:53

GoogleCodeExporter commented 9 years ago

Original comment by kkania@chromium.org on 30 Sep 2013 at 10:52

GoogleCodeExporter commented 9 years ago
We are getting this in version 2.8 as well:

NoSuchWindowException: Message: u'no such window: window was already closed\n  
(Session info: chrome=31.0.1650.63)\n  (Driver info: 
chromedriver=2.8.240825,platform=Linux 3.5.0-45-generic x86_64)' 

Original comment by rebecka....@ivbar.com on 9 Jan 2014 at 3:58

GoogleCodeExporter commented 9 years ago

Original comment by kka...@google.com on 13 Jan 2014 at 6:16

GoogleCodeExporter commented 9 years ago
I'm getting this in version 2.10 as well.

Issue Description:
When I close current browser window, I will get this exception in the following 
step. And I can't switch to its parent window.

Error Info:
NoSuchWindowException: Message: u'no such window: target window already 
closed\nfrom unknown error: web view not found\n  (Session info: 
chrome=35.0.1916.114)\n  (Driver info: 
chromedriver=2.10.267521,platform=Windows NT 6.1 x86_64)'

Original comment by xiongji...@gmail.com on 9 Jun 2014 at 9:51

GoogleCodeExporter commented 9 years ago
When running the case using firefox, no exception will throw and the case can 
run successfully.

Original comment by xiongji...@gmail.com on 9 Jun 2014 at 9:59

GoogleCodeExporter commented 9 years ago
This is causing intermittent failures in our Cucumber CI tests

Original comment by maryanne...@gmail.com on 3 Sep 2014 at 12:35

GoogleCodeExporter commented 9 years ago
 (Session info: chrome=34.0.1847.116)
        (Driver info: chromedriver=2.9,platform=Linux 3.13.0-29-generic x86_64) (WARNING: The server did not provide any stacktrace information)
      Command duration or timeout: 9.20 seconds
      Build info: version: '2.42.2', revision: '6a6995d', time: '2014-06-03 17:42:03'
      System info: host: 'buildbox-agent-4', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-29-generic', java.version: '1.7.0_55'
      Session ID: a1e00ef70f491f164541c903693e62bb
      Driver info: org.openqa.selenium.chrome.ChromeDriver
      Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, chrome={userDataDir=/tmp/.org.chromium.Chromium.ZzcInU}, rotatable=false, locationContextEnabled=true, version=34.0.1847.116, takesHeapSnapshot=true, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false, nativeEvents=true, webStorageEnabled=true, applicationCacheEnabled=false, takesScreenshot=true}] (org.openqa.selenium.NoSuchWindowException) (Selenium::WebDriver::Error::NoSuchWindowError)
      [remote server] sun.reflect.GeneratedConstructorAccessor44():-1:in `newInstance'
      [remote server] sun.reflect.DelegatingConstructorAccessorImpl(DelegatingConstructorAccessorImpl.java):45:in `newInstance'
      [remote server] java.lang.reflect.Constructor(Constructor.java):526:in `newInstance'

Original comment by maryanne...@gmail.com on 3 Sep 2014 at 12:39

GoogleCodeExporter commented 9 years ago
I was able to reproduce this by triggering a page load timeout (find a slow 
page and put a low timeout on it).  After the page fails to load, attempts to 
close the browser window will fail with an error saying "no such window: target 
window already closed..." despite the fact that the window is still open.

This causes a number of problems.  Ideally the browser would still be usable 
after a page timeout.

Original comment by rtcherry@gmail.com on 15 Sep 2014 at 7:46

GoogleCodeExporter commented 9 years ago
Faced same issue by using Chrome | FF.
Can you increase issue priority?

Thank you.
Sergey R.

Original comment by sergey.r...@gmail.com on 6 Dec 2014 at 7:46

GoogleCodeExporter commented 9 years ago
org.openqa.selenium.NoSuchWindowException: no such window: target window 
already closed
from unknown error: web view not found
  (Session info: chrome=39.0.2171.71)
  (Driver info: chromedriver=2.9.248315,platform=Windows NT 6.1 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 10 milliseconds
Build info: version: '2.42.2', revision: '6a6995d', time: '2014-06-03 17:42:30'

Kindly fix this issue ASAP however for time being please suggest.
Thanks,
Kiran Sambre.

Original comment by sambreki...@gmail.com on 8 Dec 2014 at 2:48

GoogleCodeExporter commented 9 years ago
I could see the similar issue with CentOS6.5 - Chrome 35 combination .
Shall we increase the page load time? Is there any ripple effect for that ?

Original comment by manik.gangopadhyay on 6 Jan 2015 at 8:21

GoogleCodeExporter commented 9 years ago
Any news?

Original comment by webdesig...@gmail.com on 20 Feb 2015 at 11:02

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:19