我想使用存储在文件夹中的特定firefox配置文件。https://localhost");Error CS1503 Argument 1: cannot convert from 'OpenQA.Selenium.Firefox.FirefoxProfile' to 'OpenQA.Selenium.Firefox.FirefoxOptions'
我尝试在opera中使用selenium-server-独立-2.33.0.jar,并且需要更改一些配置文件首选项。可以在OperaProfile项目中创建C#对象,并按如下方式使用:
OperaProfile profile = new OperaProfile(); // Error: Type or namespace
我正在使用C#在MSVC 2019上运行Selenium 4.0.0-beta1。我得到了一些答案,。但我不知道如何在C# for Microsoft中复制Firefox解决方案。
特别是,我找不到可以导入或创建浏览器历史记录的配置文件的等效配置文件对象。edgeoptions = new EdgeOptions