PhantomJS with Selenium error: Message: 'phantomjs' executable needs to be in PATH

后端 未结 7 1874
灰色年华
灰色年华 2020-12-05 13:59

I am attempting to run this script:

https://github.com/Chillee/coursera-dl-all

However, the script fails at the line session = webdriver.PhantomJS()

7条回答
  •  旧时难觅i
    2020-12-05 14:46

    you need to download the DRIVER

    after that session = webdriver.PhantomJS("c:\driverPath")

提交回复
热议问题