Protractor issue with chromedriver versions like 76.0.3809.12

后端 未结 3 2091
心在旅途
心在旅途 2020-12-20 08:03

Protractor issue while running the conf.js file for new chromedriver versions like 76.0.3809.68

I am trying to run the protractor tests on latest chrome version whic

3条回答
  •  悲哀的现实
    2020-12-20 09:08

    I was also facing same issue, here is a workaround which I tried and it helped me:

    1. I did a fresh install of Node, npm, Protractor - All latest versions
    2. I did npm install -g protractor and webdriver-manager update which downloaded chromedriver_76.0.3809.12.zip and geckodriver_v0.24.0
    3. Also I am using few npm modules in my test which I install locally by npm install command under ~\\Test\npm_modules
    4. I replaced content of selenium folder from C:\Users\\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\selenium\ to ~\\Test\npm_modules\Protractor\node_modules\webdriver-manager\selenium\ and this fixed the above mentioned error.

提交回复
热议问题