Why Firefox requires GeckoDriver?
问题 Just a simple question I had today: I created a new selenium project with this code: FirefoxDriver driver = new FirefoxDriver(); //ChromeDriver driver = new ChromeDriver(); //InternetExplorerDriver driver = new InternetExplorerDriver(); With Chrome and IE works out of the box, but with Firefox throws: The geckodriver.exe file does not exist in the current directory or in a directory on the PATH environment variable. The driver can be downloaded at https://github.com/mozilla/geckodriver