Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

Unable to find element on closed window on IE 11  Empty Unable to find element on closed window on IE 11

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.
avatar
seluserqwb1
Active particpant
Active particpant
Posts : 20
Join date : 2015-06-29

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

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
avatar
AgoBalan
Amateur
Amateur
Posts : 36
Join date : 2015-02-23

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

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

Unable to find element on closed window on IE 11  Empty 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