0
1.First you have to create a profile
C:\Program Files (x86)\Mozilla Firefox\firefox.exe -p
profiles are saved in
C:\Users\administrator\AppData\Roaming\Mozilla\Firefox\Profiles\lrnq8wmb.selenium
2.Add profile to selenium driver
1.First you have to create a profile
C:\Program Files (x86)\Mozilla Firefox\firefox.exe -p
profiles are saved in
C:\Users\administrator\AppData\Roaming\Mozilla\Firefox\Profiles\lrnq8wmb.selenium
2.Add profile to selenium driver
OpenQA.Selenium.Firefox.FirefoxProfile profile = new FirefoxProfile(@"~path"); IWebDriver driver = new OpenQA.Selenium.Firefox.FirefoxDriver(profile);
Post a Comment