I’m trying to launch a Firefox profile with add-ons in it, with selenium v3.12 and gecko-driver v2.10 and Firefox version 60.0, how-ever it seems that the custom profile is not working.
below is my code
static WebDriver driver; ProfilesIni profile = new ProfilesIni(); myprofile = profile.getProfile("AutoProfile"); System.setProperty("webdriver.gecko.driver", "E:\Library\geckodriver-v0.21.0-win32\geckodriver.exe"); driver = new FirefoxDriver(myprofile);
The acutal error is on the
driver = new FirefoxDriver(myprofile);
The constructor FirefoxDriver(FirefoxProfile) is undefined