selenium.common.exceptions.WebDriverException: Message: 'firefox' executable needs to be in PATH with GeckoDriver Firefox Selenium and Python
问题 I am trying to open Firefox with selenium,i tried from selenium import webdriver driver=webdriver.Firefox() But i got the following error: selenium.common.exceptions.WebDriverException: Message: 'firefox' executable needs to be in PATH. Selenium using Python - Geckodriver executable needs to be in PATH I tried from selenium.webdriver.firefox.firefox_binary import FirefoxBinary binary = FirefoxBinary('/usr/bin/firefox') browser = webdriver.Firefox(firefox_binary=binary) Also tried from