WebDriver with IE11 | Selenium Forum
M
Posted on 27/09/2016
Hi Guys,
Any one can support WebDriver with IE11. It is supporting IE11 or not.

I am getting below error. It opens IE11 but could not find elements on it. I tried with different xpaths, links but nothing is working.

See below error, any solution to work with IE11 normally?


Started InternetExplorerDriver server (64-bit)
2.53.1.0
Listening on port 44097
Only local connections are allowed
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: 31 milliseconds
Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 16:57:40'
System info: host: 'SA-PC25', ip: '192.168.38.70', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_77'
Driver info: org.openqa.selenium.ie.InternetExplorerDriver
Capabilities [{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:44097/, javascriptEnabled=true, ignoreProtectedModeSettings=false, enableElementCacheCleanup=true, unexpectedAlertBehaviour=dismiss}]
Session ID: f685fb4d-fdb7-4ecc-8f27-7f8b71dc3c22
*** Element info: {Using=xpath, value=//*[@id='Email']}

Regards,
Waqar Ali

M
Replied on 28/09/2016

try this

http://stackoverflow.com/questions/24746777/selenium-nosuchwindowexception-in-ie-11

if this doesn't work send the code.


M
Replied on 30/09/2016

I am using this below Simple code to just try IE11.

And getting above error. Please just suggest any solution to get start with IE11.

Thanks!

Responsive image

M
Replied on 30/09/2016

have you tried this q/a?

http://stackoverflow.com/questions/24746777/selenium-nosuchwindowexception-in-ie-11


M
Replied on 10/10/2016

I got solution just enabled protected mode for all zones in you IE11.

Go to - Tools - Internet Options - Security

Now set Internet, Local Intranet, Trusted Sites & Restricted Sites; protected mode enable

See screenshot it will start working.

Responsive image