SessionNotCreatedError: Unable to create new service: ChromeDriverService

后端 未结 4 2025
忘了有多久
忘了有多久 2020-12-16 01:17

We have AngularJS protractor tests. The process is to set up and run these steps in order:

$ npm install
$ webdriver-manager update --ie32 --ignore_ssl
$ gul         


        
4条回答
  •  感动是毒
    2020-12-16 02:03

    I faced the same issue. Just install or update the protractor. If you still installed the protractor also Do the following steps, run the following in cmd prompt or PowerShell

    npm install protractor -g 
    
    npm install webdriver-manager -g
    

    If you got the error as running in the background, check the running processor and close all the running processor and try.

    After the above steps run the following

    webdriver-manager update
    webdriver-manager start
    

提交回复
热议问题