Problem
Automated tests running on Internet Explorer 11 fail randomly with the following message:
Window not found.
Unable to get browser
Random Element not found.
Solution
To work around the above issue, perform the following steps one by one and check :
Add the site under test to trusted sites. - This has shown to resolve most of IE 11 issues.
Create a DWORD value with the name "iexplore.exe" and the value of 0 in the following key
For 32-bit Windows
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE
For 64-bit Windows
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE
Note :- FEATURE_BFCACHE subkey may or may not be present, and should be created if it is not present.
Add Comment