selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH error with Headless Chrome

后端 未结 2 1450
傲寒
傲寒 2020-11-21 22:36

when i run my script , i got this error

Traceback (most recent call last):
  File \"C:\\Users\\ishaq\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-         


        
2条回答
  •  佛祖请我去吃肉
    2020-11-21 23:09

    I had the same error in Linux. The fix is pretty simple. Just run this command and the error will go away.

    sudo apt install chromium-chromedriver
    

提交回复
热议问题