Package com.applitools.eyes.visualgrid
Enum BrowserType
- java.lang.Object
-
- java.lang.Enum<BrowserType>
-
- com.applitools.eyes.visualgrid.BrowserType
-
- All Implemented Interfaces:
Serializable,Comparable<BrowserType>
public enum BrowserType extends Enum<BrowserType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHROMECHROME_ONE_VERSION_BACKCHROME_TWO_VERSIONS_BACKEDGEDeprecated.The 'EDGE' option that is being used in your browsers' configuration will soon be deprecated.EDGE_CHROMIUMEDGE_CHROMIUM_ONE_VERSION_BACKEDGE_CHROMIUM_TWO_VERSION_BACKEDGE_LEGACYFIREFOXFIREFOX_ONE_VERSION_BACKFIREFOX_TWO_VERSIONS_BACKIE_10IE_11SAFARISAFARI_EARLY_ACCESSSAFARI_ONE_VERSION_BACKSAFARI_TWO_VERSIONS_BACK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BrowserTypefromName(String value)StringgetName()StringtoString()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_ONE_VERSION_BACK
public static final BrowserType CHROME_ONE_VERSION_BACK
-
CHROME_TWO_VERSIONS_BACK
public static final BrowserType CHROME_TWO_VERSIONS_BACK
-
FIREFOX
public static final BrowserType FIREFOX
-
FIREFOX_ONE_VERSION_BACK
public static final BrowserType FIREFOX_ONE_VERSION_BACK
-
FIREFOX_TWO_VERSIONS_BACK
public static final BrowserType FIREFOX_TWO_VERSIONS_BACK
-
SAFARI
public static final BrowserType SAFARI
-
SAFARI_ONE_VERSION_BACK
public static final BrowserType SAFARI_ONE_VERSION_BACK
-
SAFARI_TWO_VERSIONS_BACK
public static final BrowserType SAFARI_TWO_VERSIONS_BACK
-
SAFARI_EARLY_ACCESS
public static final BrowserType SAFARI_EARLY_ACCESS
-
IE_10
public static final BrowserType IE_10
-
IE_11
public static final BrowserType IE_11
-
EDGE
public static final BrowserType 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
public static final BrowserType EDGE_LEGACY
-
EDGE_CHROMIUM
public static final BrowserType EDGE_CHROMIUM
-
EDGE_CHROMIUM_ONE_VERSION_BACK
public static final BrowserType EDGE_CHROMIUM_ONE_VERSION_BACK
-
EDGE_CHROMIUM_TWO_VERSION_BACK
public static final BrowserType EDGE_CHROMIUM_TWO_VERSION_BACK
-
-
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()
-
fromName
public static BrowserType fromName(String value) throws IllegalArgumentException
- Returns:
- the Enum representation for the given string.
- Throws:
IllegalArgumentException- if unknown string.
-
toString
public String toString()
- Overrides:
toStringin classEnum<BrowserType>
-
-