What is the difference between webdriver.Firefox() and webdriver.Firefox(<path to gecko executable >) in selenium?
问题 I looked through the selenium 3 for python documentation but still couldn’t get the difference between these two different driver calls. webdriver.Firefox() and webdriver.Firefox(<path to gecko executable >) when using Selenium? Since I’m working on a web scrapping project this could help me a lot . 回答1: If you define the path for the driver, Functional call look for the file in the path and works accordingly. Second function driver.Firefox() / driver.Chrome() looks for existing software in