selenium--IE11浏览器执行脚本报错的解决办法

问题:

环境:

selenium2.5.3

IE11

win7-64

执行脚本报错:Unable to find element on closed window

解决办法:

修改注册表:run-regedit

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

新建一个key(DWORD):命名为:iexplore.exe,值为0

 

转载于:https://www.cnblogs.com/tongtongjiang/p/9553943.html

你可能感兴趣的:(python)