量角器设置Firefox配置文件

时间:2019-01-23 13:47:50

标签: firefox protractor profile

使用量角器运行Firefox自定义配置文件 要么 向Firefox会话中注入证书

大家好。 我试图用量角器运行我的自定义Firefox配置文件,但是我无法使其工作。我尝试了多种方式来通过个人资料,但没有一种有效。

exports.config = {
 directConnecyt: true,


  multiCapabilities: [
  {
    'browserName': 'firefox',
    'acceptInsecureCerts': true,
     'marionette':true,
     'moz:firefoxOptions': {
       'args': ["-profile", "PATH_TO_MY_PROFILE"]
    }

],
maxSessions: 1,
  framework: 'jasmine',
    specs: [],
  jasmineNodeOpts: {
    defaultTimeoutInterval: 3000000
  },
};

尝试了上面的代码。它运行一个配置文件,但测试挂起。我发现在新的geckodriver 24中无法解决此问题。所以我想知道是否还有其他方法可以将配置文件传递给FF。 如果没有,也许可以选择在参数或任何其他功能中注入证书?

0 个答案:

没有答案
相关问题