执行 nodeJS 脚本时出现 IE 错误

IE Error while executing the nodeJS script

我正在自动化的应用程序在 IE 浏览器上是支持的。在功能和步骤定义中编​​写我的脚本之后;当我尝试执行我的脚本时,控制台抛出以下错误 -

ERROR: 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.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'W10-VDI-WDW4435', ip: '10.201.110.181', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_162'

Driver 信息:driver.version:未知 远程堆栈跟踪: internetexplorer

如有任何帮助,我们将不胜感激。谢谢

根据您发布的错误消息,我认为问题在于您没有将每个区域的保护模式设置设置为 IE 11 中的相同值。

要设置保护模式设置,请从 工具 菜单中选择 Internet 选项,然后单击 安全 选项卡。对于每个区域,在标记为 启用保护模式 的选项卡底部都会有一个复选框。请确保每个区域的设置具有相同的值(全部选中或全部未选中)。

此外,在自动化 IE 11 时,您还需要满足所有这些Required Configuration