Python - Selenium in Ubuntu OSError: [Errno 20] Not a directory

后端 未结 5 1799
梦毁少年i
梦毁少年i 2020-12-03 11:01

After installing Selenium in Ubuntu and adding geckodriver to path I get this error when I run

from selenium import webdriver

driver = webdriver.Firefox()
         


        
5条回答
  •  我在风中等你
    2020-12-03 11:41

    The problem is that you renamed "geckodriver" to "wires".

    The solution is to add "geckodriver" to search path then it should work.

提交回复
热议问题