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

后端 未结 9 1436
予麋鹿
予麋鹿 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:14

    This error also happened for me when I tried to run "npm run protractor" on step 3 of the Angular tutorial at https://docs.angularjs.org/tutorial/step_03

    I'm running Chrome Version 35.0.1916.153 on a MacBook Pro.

    @scheffield - thanks, your solution worked for me.

    (Also it may not be obvious on that tutorial step 3, but as in previous steps, you still have to start your web server by opening a new terminal window in the directory where you downloaded the tutorial and issuing "npm start". Then in a separate terminal window you execute "npm run protractor"). With the protractor config tweak the error went away.

提交回复
热议问题