Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Unable to find element on closed window on IE 11

View previous topic View next topic Go down

Unable to find element on closed window on IE 11

Post by AlexExc 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.

AlexExc

Posts : 1
Join date : 2015-07-01

Back to top Go down

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

Post by seluserqwb1 on Mon Jul 06, 2015 8:08 pm

Please post your question in official webdriver forum  - 
www.seleniumtests.com/p/selenium-2-forum.html

seluserqwb1
Active particpant
Active particpant

Posts : 20
Join date : 2015-06-29

Back to top Go down

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

Post by AgoBalan on Tue Jul 07, 2015 8:12 pm

is it opening the IE brower?before throwing the error?

AgoBalan
Amateur
Amateur

Posts : 36
Join date : 2015-02-23

Back to top Go down

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

Post by Sponsored content Today at 1:10 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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