解決selenium無法開啟測試FIREFOX的問題
錯誤訊息:selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
問題討論串:https://stackoverflow.com/questions/40208051/selenium-using-python-geckodriver-executable-needs-to-be-in-path
我試過最快的解決方法: (OK,可使用)
The easiest way for Windows!
Download the latest version of geckodriver from here. Add the geckodriver.exe file to the Python directory (or any other directory which already in PATH). This should solve the problem (it was tested on Windows 10).
留言
張貼留言