我试图将Selenium.WebDriver v3.7 (来自NuGet)、FirefoxESRv52.4.1(64位)和geckodriverv0.19.1连接在Visual 2017中。public class Program public static void Main(string[] args) FirefoxDriverServicedriver.Navigate().GoToUrl("http://news.bbc.co.uk");
using OpenQA.Selenium;using OpenQA.Selenium.Support.UI;
//Start Firefox Gecko Driver Service from Custom Location
FirefoxDriverServiceservice = FirefoxDriver