protractor/selenium “could not find chromedriver at” (on Windows)

前端 未结 14 1844
感动是毒
感动是毒 2021-01-30 12:45

I installed protractor following this tutorial and when i use webdriver-manager update it says:

selenium standalone is up to date.
chromedriver is up to date.
         


        
14条回答
  •  北荒
    北荒 (楼主)
    2021-01-30 13:34

    The standalone selenium file was corrupt so i had to overwrite it, copying it into the folder directly.

    C:/Users/****/AppData/Roaming/npm/node_modules/protractor/selenium/
    

    Also i had to rename the chromedriver so it is actually called "chromedriver" and not "chromedriver.exe".

    C:/Users/****/AppData/Roaming/npm/node_modules/protractor/selenium/chromedriver
    

    This partially happened because i did not set the proxy in webdriver. You can see the Solution for this in the accepted answer.

提交回复
热议问题