Beispiel #1
0
  public FirefoxProfile() {
    this(ProfileReaper.getInstance());
    profileDir = getUniqueProfileDir();

    if (profileDir == null || !profileDir.mkdirs()) {
      throw new RuntimeException("Cannot create custom profile directory");
    }

    commonConstruction(profileDir);
  }
Beispiel #2
0
 public FirefoxProfile(File profileDir) {
   this(ProfileReaper.getInstance());
   commonConstruction(profileDir);
 }