赞
踩
selenium 创建IE 会话异常
- org.openqa.selenium.SessionNotCreatedException: Unexpected error launching Internet Explorer.
- Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all zones.
- Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:13:22.693Z'System info: host: 'iZii3rznetsmkeZ',
- ip: '10.200.0.176', os.name: 'Windows Server 2019', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_271'Driver info: d
- river.version: unknownremote stacktrace: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
解决办法
internet 选项,进入安全标签,分别点击internet ,本地intranet,受信任的站点,受限制的站点,四个设置,全部去掉勾选“启用保护模式” 安全级别调成最低
服务器管理器-本地服务器-IE增强关闭
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。