|
Ajocado API 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<BrowserMode>
org.jboss.arquillian.ajocado.browser.BrowserMode
public enum BrowserMode
Encapsulates execution mode of browser runned by Selenium.
Enumerates all the browsers supported by Selenium.
| Enum Constant Summary | |
|---|---|
CHROME
FirefoxChromeLauncher |
|
FIREFOX
FirefoxLauncher |
|
FIREFOX_CHROME
FirefoxChromeLauncher |
|
FIREFOX_PROXY
FirefoxCustomProfileLauncher |
|
FIREFOX_PROXY_INJECTION
ProxyInjectionFirefoxCustomProfileLauncher |
|
FIREFOX2
Firefox2Launcher |
|
FIREFOX3
Firefox3Launcher |
|
GOOGLE_CHROME
GoogleChromeLauncher |
|
IEXPLORE
InternetExplorerLauncher |
|
IEXPLORE_HTA
HTABrowserLauncher |
|
IEXPLORE_PROXY
InternetExplorerCustomProxyLauncher |
|
IEXPLORE_PROXY_INJECTION
ProxyInjectionInternetExplorerCustomProxyLauncher |
|
KONQUEROR
KonquerorLauncher |
|
MOCK
MockBrowserLauncher |
|
OPERA
OperaCustomProfileLauncher |
|
SAFARI
SafariLauncher |
|
SAFARI_PROXY
SafariCustomProfileLauncher |
|
SAFARI_PROXY_INJECTION
Deprecated. |
|
| Method Summary | |
|---|---|
BrowserType |
getBrowserType()
Gets the browser type. |
String |
getMode()
Gets string representations of mode. |
static EnumSet<BrowserMode> |
getModesFromTypes(EnumSet<BrowserType> types)
Gets the set of browser modes, which are associated with browsers given by types (see BrowserType). |
static BrowserMode |
parseMode(String browserMode)
Parses the mode from given string representation. |
static EnumSet<BrowserMode> |
parseModes(String browserModesEnumeration)
Returns set of browser modes derived from string enumeration of comma- and/or space-separated representation of browser modes ( parseMode(String)). |
static BrowserMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BrowserMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final BrowserMode FIREFOX_PROXY
public static final BrowserMode FIREFOX
public static final BrowserMode CHROME
public static final BrowserMode FIREFOX_CHROME
public static final BrowserMode FIREFOX2
public static final BrowserMode FIREFOX3
public static final BrowserMode IEXPLORE_PROXY
public static final BrowserMode SAFARI
public static final BrowserMode SAFARI_PROXY
public static final BrowserMode IEXPLORE_HTA
public static final BrowserMode IEXPLORE
public static final BrowserMode OPERA
public static final BrowserMode IEXPLORE_PROXY_INJECTION
public static final BrowserMode FIREFOX_PROXY_INJECTION
public static final BrowserMode KONQUEROR
public static final BrowserMode MOCK
public static final BrowserMode GOOGLE_CHROME
@Deprecated public static final BrowserMode SAFARI_PROXY_INJECTION
ProxyInjectionSafariCustomProfileLauncher
Deprecated - isn't working yet
| Method Detail |
|---|
public static BrowserMode[] values()
for (BrowserMode c : BrowserMode.values()) System.out.println(c);
public static BrowserMode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static BrowserMode parseMode(String browserMode)
Parses the mode from given string representation.
String representation is derived from string representing mode in Selenium.
E.g.: for "*pifirefox" string you get FIREFOX_PROXY_INJECTION mode
browserMode - the browser mode string representation
IllegalArgumentException - if the given browserMode isn't supportedpublic static EnumSet<BrowserMode> parseModes(String browserModesEnumeration)
Returns set of browser modes derived from string enumeration of comma- and/or space-separated representation of
browser modes (parseMode(String)).
browserModesEnumeration - comma and/or spaces separated string enumeration of string representation of browser modes
IllegalArgumentException - if one of the given browser modes isn't supportedpublic static EnumSet<BrowserMode> getModesFromTypes(EnumSet<BrowserType> types)
BrowserType).
types - the set of browser types
public String getMode()
public BrowserType getBrowserType()
|
Ajocado API 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||