Selenium – NoSuchWindowException



NoSuchWindowException

NoSuchWindowException is one of the most common exception in selenium…

Error: Unable to find element on closed window on IE11 with Selenium WebDriver

It is because WebDriver is not able to maintain connection with Internet Explorer. For this to keep working you need to add a onetime Registry key in your system. Here are the details below:

Open Windows + R. Enter Regedit and follow the path below:

For 64 bit Windows OS:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE.

For 32 bit Windows OS:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE

Under this location create a DWORD value named iexplore.exe with the value of 0.

Note: In some systems you may not find folder FEATURE_BFCACHE. In that case, you have create that manually

 

Go through Selenium Interview Questions

Tags: ,
Leave a comment

Your email address will not be published. Required fields are marked *

Subscribe now

Receive weekly newsletter with educational materials, new courses, most popular posts, popular books and much more!

https://bridgejunks.com/ https://crownmakesense.com/ https://brithaniabookjudges.com/ https://hughesroyality.com/ https://rhythmholic.com/ https://bandar89.simnasfikpunhas.com/ https://www.100calshop.co.il/products/thailand/ https://myasociados.com/ https://solyser.com/ http://konfidence.cz/ https://muscadinepdx.com/ https://bandar89.parajesandinos.com.ve/ https://goremekoop.com/ https://oncoswisscenter.com/ https://www.turunclifehotel.com/bandar89/ https://www.houseofproducts.biz/ https://taimoormphotography.com/
BIJI18 BIJI18 BIJI18