I’m trying to a with add-ons in it, with v3.12 and gecko-driver v2.10 and version 60.0, how-ever it seems that the profile is not working.
below is my code

  static  driver;
    ProfilesIni profile = new ProfilesIni();
            myprofile = profile.getProfile("AutoProfile");
    System.setProperty(".gecko.driver", 
      "E:\Library\-v0.21.0-win32\.exe");
            driver = new FirefoxDriver(myprofile);

The acutal error is on the

     driver = new FirefoxDriver(myprofile);

as

The constructor FirefoxDriver(FirefoxProfile) is undefined



Source link https://sqa.stackexchange.com/questions/35051/launch-firefox-custom-profile-with-geckodriver-in-

LEAVE A REPLY

Please enter your comment!
Please enter your name here