Protractor does not find chromedriver: The driver executable does not exist:

后端 未结 8 2004
灰色年华
灰色年华 2020-12-19 12:06

I am trying to get Protractor up and running following the official Getting Started Guide.

The command

webdriver-manager start

seem

8条回答
  •  感动是毒
    2020-12-19 12:37

    For Mac users:

    Under the 'angular-phonecat' folder, run npm install chromedriver. This will install the chrome driver into the folder node_modules/chromedriver. After this, you should modify the test/protractor-conf.js, pointing it to the new chromedriver folder, by adding this line:

    chromeDriver:'../node_modules/chromedriver/bin/chromedriver',

    Finally, you will run successfully the command npm run protractor (don't forget that npm start should be run first).

提交回复
热议问题