Examples of startProfile()


Examples of org.openqa.selenium.firefox.FirefoxBinary.startProfile()

    FirefoxBinary binary = new FirefoxBinary(new File(torbrowserHome + File.separator + "Start Tor Browser.exe"));
    FirefoxProfile torProfile = new FirefoxProfile(torProfileDir);
    torProfile.setPreference("webdriver.load.strategy", "unstable");

    try {
      binary.startProfile(torProfile, torProfileDir, "");
    } catch (IOException e) {
      e.printStackTrace();
    }

    FirefoxProfile profile = new FirefoxProfile();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.