8
我需要使用C#在Selenium中使用现有的Firefox配置文件。 该配置文件有一个我需要配置的附加组件。如何在Selenium C#中使用现有的Firefox配置文件?
我发现了一些代码googling,但这些是Java的,我试过下面的代码,但它仍然无法正常工作。
FirefoxProfile profile = new FirefoxProfile("C:\\Users\\username\\Desktop\\software\\Files");
driver = new FirefoxDriver();