Setting Up Profile in Firefox and Webdriver - Bug Reaper

                  Bug Reaper

Lean about Automation Testing,Selenium WebDriver,RestAssured,Appium,Jenkins,JAVA,API Automation,TestNG,Maven, Rest API, SOAP API,Linux,Maven,Security Testing,Interview Questions

Monday, 23 September 2013

Setting Up Profile in Firefox and Webdriver

Setting Up Profile in Firefox and Webdriver


  Press Win+r
  Then firefox -P
Add a new Profille by Name for example-neeraj
  ProfilesIni allprofile = new ProfilesIni();
  FirefoxProfile profile=allprofile.getProfile("neeraj");
  profile.setAcceptUntrustedCertificates(false);
  WebDriver driver = new FirefoxDriver(profile);

No comments:

Post a Comment