Protractor error message “unsupported command-line flag” in Chrome?

后端 未结 9 1501
予麋鹿
予麋鹿 2020-12-23 20:35

I\'m a new user to Protractor, and I encountered this error running my tests using Chrome (error displays beneath the address bar in the launched browser):

9条回答
  •  情深已故
    2020-12-23 21:10

    If you use Protractor, this is probably the configuration you're looking for:

    capabilities : {
        browserName : 'chrome',
        'chromeOptions': {
            args: ['--test-type']
        }
    },
    

提交回复
热议问题