是否可以在量角器测试下向 firefox 添加插件?

Is it possible to add a addon to firefox under a protractor test?

是否可以在量角器测试中使用 foxyproxy 插件触发 firefox?

我在 firefox 中添加了插件 foxyproxy 并尝试 运行 量角器测试用例,但它在没有该插件的情况下触发了 firefox。

您需要使用 firefox-profile 包和 addExtension() 函数。

这里是 HowTo 关于如何使用预先创建的特定 firefox 配置文件启动 firefox 的内容。

另请参阅:

  • Set firefox profile with protractor