【发布时间】:2020-02-18 21:01:07
【问题描述】:
我在 IE11 上使用 webdriver。每个 selenium 有一组在 IE11 中运行所需的设置,其中一个是在 Internet 选项 > 高级 > 安全中禁用“增强保护模式”(与 Internet 选项 > 安全中启用的保护模式不同)
问题是,我的组策略禁用了这些字段,这意味着我无法在不请求更改组策略的情况下关闭它们。我想知道是否有 IE 功能或选项可以解决此问题,例如 caps['ignoreProtectedModeSettings'] = True for the Internet Option > Security Enable Protection Mode setting
https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver
【问题讨论】:
标签: webdriver internet-explorer-11 protected-mode internet-options