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

前端 未结 25 1901
轻奢々
轻奢々 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 05:51

    Another way is download and unzip chromedriver and put 'chromedriver.exe' in C:\Program Files\Python38\Scripts and then you need not to provide the path of driver, just

    driver= webdriver.Chrome()

提交回复
热议问题