当前位置:   article > 正文

org.openqa.selenium.SessionNotCreatedException: Unexpected error launching Internet Explorer.

org.openqa.selenium.sessionnotcreatedexception

selenium 创建IE 会话异常

  1. org.openqa.selenium.SessionNotCreatedException: Unexpected error launching Internet Explorer.
  2. 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.
  3. Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:13:22.693Z'System info: host: 'iZii3rznetsmkeZ',
  4. 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
  5. river.version: unknownremote stacktrace: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

解决办法

 internet 选项,进入安全标签,分别点击internet ,本地intranet,受信任的站点,受限制的站点,四个设置,全部去掉勾选“启用保护模式”  安全级别调成最低

服务器管理器-本地服务器-IE增强关闭

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/168460
推荐阅读
相关标签
  

闽ICP备14008679号