SessionNotCreatedError: Unable to create new service: ChromeDriverService

后端 未结 4 2024
忘了有多久
忘了有多久 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:01

    If you set the below in your config you can download the latest chromedriver.exe and run it directly with the below code. Only geckoDriver and chromeDriver work with directConnect.

    directConnect: true,
    chromeDriver: 'path_to_chromedriver',
    geckoDriver: 'path_to_geckodriver.exe',
    

提交回复
热议问题