Error message: “'chromedriver' executable needs to be available in the path”

前端 未结 25 2319
轻奢々
轻奢々 2020-11-22 05:15

I am using selenium with python and have downloaded the chromedriver for my windows computer from this site: http://chromedriver.storage.googleapis.com/index.html?path=2.15/

25条回答
  •  故里飘歌
    2020-11-22 06:05

    Best way for sure is here:

    Download and unzip chromedriver and put 'chromedriver.exe' in C:\Python27\Scripts and then you need not to provide the path of driver, just

    driver= webdriver.Chrome()
    

    You are done no need to add paths or anything

提交回复
热议问题