Package com.crawljax.browser
Enum EmbeddedBrowser.BrowserType
- java.lang.Object
-
- java.lang.Enum<EmbeddedBrowser.BrowserType>
-
- com.crawljax.browser.EmbeddedBrowser.BrowserType
-
- All Implemented Interfaces:
Serializable,Comparable<EmbeddedBrowser.BrowserType>
- Enclosing interface:
- EmbeddedBrowser
public static enum EmbeddedBrowser.BrowserType extends Enum<EmbeddedBrowser.BrowserType>
Browser types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHROMECHROME_HEADLESSEDGEEDGE_HEADLESSFIREFOXFIREFOX_HEADLESSREMOTE
-
Constructor Summary
Constructors Modifier Constructor Description privateBrowserType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EmbeddedBrowser.BrowserTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EmbeddedBrowser.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 EmbeddedBrowser.BrowserType CHROME
-
CHROME_HEADLESS
public static final EmbeddedBrowser.BrowserType CHROME_HEADLESS
-
FIREFOX
public static final EmbeddedBrowser.BrowserType FIREFOX
-
FIREFOX_HEADLESS
public static final EmbeddedBrowser.BrowserType FIREFOX_HEADLESS
-
REMOTE
public static final EmbeddedBrowser.BrowserType REMOTE
-
EDGE
public static final EmbeddedBrowser.BrowserType EDGE
-
EDGE_HEADLESS
public static final EmbeddedBrowser.BrowserType EDGE_HEADLESS
-
-
Method Detail
-
values
public static EmbeddedBrowser.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 (EmbeddedBrowser.BrowserType c : EmbeddedBrowser.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 EmbeddedBrowser.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
-
-