问题
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