Unable to load Chrome extension in Protractor tests

跟風遠走 提交于 2019-12-23 05:58:17

问题


Given below is a snippet from config.js

  capabilities: {
    'browserName': 'chrome',
    'chromeOptions': {
      'args': ['--load-extension=' + '/Users/prashanthsams/Downloads/addon.crx']
    }
  },

Note: I am able to install the .crx extensions manually through Chrome UI and not through automation

来源:https://stackoverflow.com/questions/39605385/unable-to-load-chrome-extension-in-protractor-tests

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!