How can I completely avoid webdriver-manager?

后端 未结 3 745
闹比i
闹比i 2020-12-21 23:45

I\'m trying to use protractor for e2e tests in my Angular project. I previously installed selenium server and chromedriver in my path and it works fine for non-angular proje

3条回答
  •  渐次进展
    2020-12-22 00:13

    you can use ng cli option: webdriver-update to make it not to execute webdriver update as following:

    ng e2e --webdriver-update=false

    But ng e2e uses the webdriver in local package not global package, I think you need a npm script to copy your pre-prepared webdriver to project local package before execute ng e2e --webdriver-update=false

提交回复
热议问题