Package com.applitools.eyes.selenium
Enum Class BrowserType
- All Implemented Interfaces:
Serializable,Comparable<BrowserType>,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.The 'EDGE' option that is being used in your browsers' configuration will soon be deprecated.Deprecated.Use 'EDGECHROMIUM_TWO_VERSIONS_BACK' option instead. -
Method Summary
Modifier and TypeMethodDescriptionstatic BrowserTypegetName()toString()static BrowserTypeReturns the enum constant of this class with the specified name.static BrowserType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHROME
-
CHROME_ONE_VERSION_BACK
-
CHROME_TWO_VERSIONS_BACK
-
FIREFOX
-
FIREFOX_ONE_VERSION_BACK
-
FIREFOX_TWO_VERSIONS_BACK
-
SAFARI
-
SAFARI_ONE_VERSION_BACK
-
SAFARI_TWO_VERSIONS_BACK
-
SAFARI_EARLY_ACCESS
-
IE_10
-
IE_11
-
EDGE
Deprecated.The 'EDGE' option that is being used in your browsers' configuration will soon be deprecated. Please change it to either "EDGE_LEGACY" for the legacy version or to "EDGE_CHROMIUM" for the new Chromium-based version. -
EDGE_LEGACY
-
EDGE_CHROMIUM
-
EDGE_CHROMIUM_ONE_VERSION_BACK
-
EDGE_CHROMIUM_TWO_VERSION_BACK
Deprecated.Use 'EDGECHROMIUM_TWO_VERSIONS_BACK' option instead. -
EDGE_CHROMIUM_TWO_VERSIONS_BACK
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getName
-
fromName
- Returns:
- the Enum representation for the given string.
- Throws:
IllegalArgumentException- if unknown string.
-
toString
- Overrides:
toStringin classEnum<BrowserType>
-