rshf / chromedriver

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

NoSuchWindowError when window is closed automatically (from frame) #339

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On watir-webdriver we've been raise a bug when NoSuchWindowError is being 
thrown when window closes itself from frame (original issue 
https://github.com/watir/watir-webdriver/issues/196). While trying to figure 
out the problem, I managed to reproduce the issue with plain selenium-webdriver 
on ChromeDriver.

You can run attached script to reproduce the problem (script is flaky and uses 
sleeps, but nevertheless it works in this case). 

On FirefoxDriver it works without any errors, you can take a look simply by 
changing it Selenium::WebDriver.for to :firefox.

ChromeDriver = 26.0.1383.0
Chrome = 26.0.1410.65
OS = OS X 10.8.3

Stacktrace of error is attached.
Not attaching chromedriver.log since it only contains one line with version and 
PATH.

Original issue reported on code.google.com by p0deje@gmail.com on 14 May 2013 at 2:45

Attachments:

GoogleCodeExporter commented 9 years ago
Any news? I also have this problem.

Original comment by webdesig...@gmail.com on 20 Feb 2015 at 4:12

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
There is issue with script it throws error in both the drivers firefox and 
chrome:-

timed out after 10 seconds (Unable to locate element: {"method":"css 
selector","selector":"iframe#cke_22_frame"})

if this issue is still reproducible with latest version of chrome (2.14) 
selenium(2.45) and chrome browser (41.0.xxxx.xxx ) can you please attach a 
reproducible testcase.

Thanks.

Original comment by agau...@chromium.org on 9 Apr 2015 at 11:08