Share
Go down
AlexExc
Posts : 1
Join date : 2015-07-01

Unable to find element on closed window on IE 11

on Wed Jul 01, 2015 4:39 pm
I'm trying to run tests on Internet Explorer 11 working with Selenium WebDriver. The code is:
Code:
System.setProperty("webdriver.ie.driver", "Path/to//IEDriverServer.exe");
        WebDriver driver = new InternetExplorerDriver();
driver.get("google website");
driver.findElement(By.name("q"));

Error message (I cannot post the whole error message because for some reason the page thinks it has an external link):
Code:
Started InternetExplorerDriver server (64-bit)
2.46.0.0
Listening on port 43760
Exception in thread "main" org.openqa.selenium.NoSuchWindowException: Unable to find element on closed window (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 15 milliseconds
Build info: version: '2.46.0', revision: '61506a4624b13675f24581e453592342b7485d71', time: '2015-06-04 10:22:50'
System info: host: 'user1-PC', ip: '10.0.23.71', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_45'
Driver info: org.openqa.selenium.ie.InternetExplorerDriver

I tried to follow the configure tutorial on the InternetExplorer web driver page, but is still not working. And this code works on Firefox and Chrome.
seluserqwb1
Active particpant
Active particpant
Posts : 20
Join date : 2015-06-29

Re: Unable to find element on closed window on IE 11

on Mon Jul 06, 2015 8:08 pm
Message reputation : 0% (1 vote)
Please post your question in official webdriver forum  - 
www.seleniumtests.com/p/selenium-2-forum.html
AgoBalan
Amateur
Amateur
Posts : 36
Join date : 2015-02-23

Re: Unable to find element on closed window on IE 11

on Tue Jul 07, 2015 8:12 pm
is it opening the IE brower?before throwing the error?
Sponsored content

Re: Unable to find element on closed window on IE 11

Back to top
Permissions in this forum:
You cannot reply to topics in this forum