【发布时间】:2020-11-09 07:26:38
【问题描述】:
我正在使用 Selenium 来自动化一些活动。我的代码是
FirefoxOptions options = new FirefoxOptions();
options.AddArguments("--disable-infobars");
FirefoxDriver driver = new FirefoxDriver(firefoxDriverService, options);
driver.Navigate().GoToUrl("https://www.google.com");
这会打开 Firefox 并将我导航到 Google。但我想打开隐藏导航栏的Firefox。提前致谢。
【问题讨论】: