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

前端 未结 25 2457
轻奢々
轻奢々 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:53

    If you are working with robot framework RIDE. Then you can download Chromedriver.exe from its official website and keep this .exe file in C:\Python27\Scripts directory. Now mention this path as your environment variable eg. C:\Python27\Scripts\chromedriver.exe.

    Restart your computer and run same test case again. You will not get this problem again.

提交回复
热议问题