{"action":"opened","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/3086","repository_url":"https://api.github.com/repos/SeleniumHQ/selenium","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/3086/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/3086/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/3086/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/3086","id":188495114,"number":3086,"title":"Selenium always throws org.openqa.selenium.NoSuchWindowException when using InternetExplorerDriver","user":{"login":"gunnee","id":11994095,"avatar_url":"https://avatars.githubusercontent.com/u/11994095?v=3","gravatar_id":"","url":"https://api.github.com/users/gunnee","html_url":"https://github.com/gunnee","followers_url":"https://api.github.com/users/gunnee/followers","following_url":"https://api.github.com/users/gunnee/following{/other_user}","gists_url":"https://api.github.com/users/gunnee/gists{/gist_id}","starred_url":"https://api.github.com/users/gunnee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunnee/subscriptions","organizations_url":"https://api.github.com/users/gunnee/orgs","repos_url":"https://api.github.com/users/gunnee/repos","events_url":"https://api.github.com/users/gunnee/events{/privacy}","received_events_url":"https://api.github.com/users/gunnee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-10T12:25:02Z","updated_at":"2016-11-10T12:25:02Z","closed_at":null,"body":"## Meta -\r\n**OS:**  \r\nWindows 7 Enterprise\r\n**Selenium Version:**  \r\n3.0.1\r\n**Browser:**  \r\nInternet Explorer 11 \r\n**Browser Version:**  \r\n11.0.9600.18499 (32-bit)\r\n**InternetExplorerDriver Version:**  \r\n3.0 or 2.53.1 (same result)\r\n\r\n## Expected Behavior\r\nGetting the window handle (this is just one example; finding web elements results in the same error). \r\n\r\n## Actual Behavior\r\nBrowser window is getting opened and the page is being loaded. Afterwards the exception 'org.openqa.selenium.NoSuchWindowException' is being thrown when trying to get the window handle:\r\n```\r\norg.openqa.selenium.NoSuchWindowException: Window is closed (WARNING: The server did not provide any stacktrace information)\r\nCommand duration or timeout: 47 milliseconds\r\nBuild info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700'\r\nSystem info: host: '...', ip: '...', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_91'\r\nDriver info: org.openqa.selenium.ie.InternetExplorerDriver\r\nCapabilities [{browserAttachTimeout=0, ie.enableFullPageScreenshot=true, enablePersistentHover=true, ie.forceCreateProcessApi=false, ie.forceShellWindowsApi=false, pageLoadStrategy=normal, ignoreZoomSetting=false, ie.fileUploadDialogTimeout=3000, version=11, platform=WINDOWS, nativeEvents=true, ie.ensureCleanSession=false, elementScrollBehavior=0, ie.browserCommandLineSwitches=, requireWindowFocus=false, browserName=internet explorer, initialBrowserUrl=http://localhost:30476/, javascriptEnabled=true, ignoreProtectedModeSettings=false, enableElementCacheCleanup=true, unexpectedAlertBehaviour=dismiss}]\r\nSession ID: 02ce74d8-4a27-409c-8839-3ec2b0846649\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n\tat org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:216)\r\n\tat org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:635)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:658)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.getWindowHandle(RemoteWebDriver.java:518)\r\n\tat com.test.test.automation.TestTest.test1(TestTest.java:22)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)\r\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n\tat org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)\r\n\tat org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)\r\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)\r\n```\r\n\r\n## Steps to reproduce -\r\nRun the following unit test:\r\n```java\r\npublic class TestTest {\r\n\r\n    @Test\r\n    public void test1() {\r\n        System.setProperty(\"webdriver.ie.driver\", \"drivers/internetexplorerdriver-windows-32bit.exe\");\r\n        WebDriver driver = new InternetExplorerDriver();\r\n        driver.get(\"https://www.google.de/\");\r\n        try {\r\n            TimeUnit.SECONDS.sleep(5);\r\n        } catch (InterruptedException e) {\r\n            e.printStackTrace();\r\n        }\r\n        String windowHandle = driver.getWindowHandle();\r\n        Assert.assertNotNull(windowHandle);\r\n    }\r\n\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"gunnee"}}