问题:
环境:
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