Python selenium error when trying to launch firefox

前端 未结 8 1314
时光取名叫无心
时光取名叫无心 2020-12-01 16:35

I am getting an error when trying to open Firefox using Selenium in ipython notebook. I\'ve looked around and have found similar errors but nothing that exactly matches the

相关标签:
8条回答
  • 2020-12-01 17:13
        driver=webdriver.Firefox(executable_path="add geckodriver.exe",log_path=None)
    
    0 讨论(0)
  • 2020-12-01 17:13

    You are required to install geckodriver:

    https://selenium-python.readthedocs.io/installation.html

    Just download it, unzip it, and copy it to your python directory... Simple.

    0 讨论(0)
提交回复
热议问题