8
我需要使用C#在Selenium中使用現有的Firefox配置文件。 該配置文件有一個我需要配置的附加組件。如何在Selenium C#中使用現有的Firefox配置文件?
我發現了一些代碼googling,但這些是Java的,我試過下面的代碼,但它仍然無法正常工作。
FirefoxProfile profile = new FirefoxProfile("C:\\Users\\username\\Desktop\\software\\Files");
driver = new FirefoxDriver();