public FirefoxProfile() { this(ProfileReaper.getInstance()); profileDir = getUniqueProfileDir(); if (profileDir == null || !profileDir.mkdirs()) { throw new RuntimeException("Cannot create custom profile directory"); } commonConstruction(profileDir); }
public FirefoxProfile(File profileDir) { this(ProfileReaper.getInstance()); commonConstruction(profileDir); }