Thursday, 16 February 2012

Class ProfilesIni - open firefox browser with own profile for selenium automation testing


qa.selenium.firefox.internal
Class ProfilesIni

java.lang.Object
extended by org.openqa.selenium.firefox.internal.ProfilesIni

public class ProfilesIni
extends java.lang.Object


Constructor Summary
ProfilesIni()
           

Method Summary
 FirefoxProfilegetProfile(java.lang.String profileName)
           
protected  java.io.FilelocateAppDataDirectory(Platform os)
           
protected  java.io.FilenewProfile(java.lang.String name, java.io.File appData, java.lang.String path, boolean isRelative)
           
protected  java.util.MapreadProfiles(java.io.File appData)
           

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ProfilesIni

public ProfilesIni()

Method Detail

readProfiles

protected java.util.Map readProfiles(java.io.File appData)


newProfile

protected java.io.File newProfile(java.lang.String name,
java.io.File appData,
java.lang.String path,
boolean isRelative)


getProfile

public FirefoxProfile getProfile(java.lang.String profileName)


locateAppDataDirectory

protected java.io.File locateAppDataDirectory(Platform os)