解决Selenium下使用Firefox的findElement速度非常慢的问题
https://stackoverflow.com/questions/53629542/selenium-geckodriver-executes-findelement-10-times-slower-than-chromedriver-ne
string geckoDriverDirectory = "Path of geckodriver.exe" FirefoxDriverService geckoService = FirefoxDriverService.CreateDefaultService(geckoDriverDirectory); geckoService.Host = "::1"; var firefoxOptions = new FirefoxOptions(); firefoxOptions.AcceptInsecureCertificates = true; Driver = new FirefoxDriver(geckoService, firefoxOptions);