启用IE包含模式

Unexpected error launching Internet Explorer.


在启动PowerShell中调用Selenium启动IE驱动器InternetExplorerDriver遇到错误:

New-Object : Exception calling ".ctor" with "0" argument(s): "Unexpected error launching Internet Explorer. Protected M
ode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled)
for all zones. (NoSuchDriver)"

解决方法:启用IE保护模式即可。

在-IE选项->安全选项卡下:

启用IE包含模式

启用IE包含模式

本文链接: https://www.pstips.net/unexpected-error-launching-internet-explorer.html
请尊重原作者和编辑的辛勤劳动,欢迎转载,并注明出处!

关于 Mooser Lee

我是一个Powershell的爱好者,创建了PowerShell中文博客,热衷于Powershell技术的搜集和分享。本站部分内容来源于互联网,不足之处敬请谅解,并欢迎您批评指正。

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注