Enum BrowserType
- java.lang.Object
-
- java.lang.Enum<BrowserType>
-
- com.almis.awe.testing.model.types.BrowserType
-
- All Implemented Interfaces:
Serializable,Comparable<BrowserType>
public enum BrowserType extends Enum<BrowserType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHROMEChrome browser in local hostEDGEEdge browser in local hostFIREFOXFirefox browser in local hostHEADLESS_CHROMEHeadless Chrome browserHEADLESS_FIREFOXHeadless Firefox browserIEInternet Explorer browser in local hostOPERAOpera browser in local hostREMOTE_CHROMEChrome browser in remote hostREMOTE_FIREFOXHeadless Firefox browserSERVICE_CHROMEChrome browser in docker container as serviceSERVICE_EDGEEdge browser in docker container as serviceSERVICE_FIREFOXFirefox browser in docker container as serviceSERVICE_OPERAOpera browser in docker container as serviceSERVICE_SAFARISafari browser in docker container as service
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()static BrowserTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BrowserType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHROME
public static final BrowserType CHROME
Chrome browser in local host
-
EDGE
public static final BrowserType EDGE
Edge browser in local host
-
FIREFOX
public static final BrowserType FIREFOX
Firefox browser in local host
-
IE
public static final BrowserType IE
Internet Explorer browser in local host
-
OPERA
public static final BrowserType OPERA
Opera browser in local host
-
HEADLESS_FIREFOX
public static final BrowserType HEADLESS_FIREFOX
Headless Firefox browser
-
HEADLESS_CHROME
public static final BrowserType HEADLESS_CHROME
Headless Chrome browser
-
REMOTE_FIREFOX
public static final BrowserType REMOTE_FIREFOX
Headless Firefox browser
-
REMOTE_CHROME
public static final BrowserType REMOTE_CHROME
Chrome browser in remote host
-
SERVICE_FIREFOX
public static final BrowserType SERVICE_FIREFOX
Firefox browser in docker container as service
-
SERVICE_CHROME
public static final BrowserType SERVICE_CHROME
Chrome browser in docker container as service
-
SERVICE_EDGE
public static final BrowserType SERVICE_EDGE
Edge browser in docker container as service
-
SERVICE_OPERA
public static final BrowserType SERVICE_OPERA
Opera browser in docker container as service
-
SERVICE_SAFARI
public static final BrowserType SERVICE_SAFARI
Safari browser in docker container as service
-
-
Method Detail
-
values
public static BrowserType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BrowserType c : BrowserType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BrowserType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public String getName()
-
-