Package com.hp.lft.sdk.web
Enum Class BrowserType
- All Implemented Interfaces:
Serializable
,Comparable<BrowserType>
,java.lang.constant.Constable
Supported browser types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGoogle ChromeMicrosoft EdgeEdge Chromium (deprecated).Mozilla FirefoxHeadless Chrome.Microsoft Internet ExplorerThe OpenText Functional Testing Lab browserThe PhantomJS headless browser.Safari browser -
Method Summary
Modifier and TypeMethodDescriptionstatic BrowserType
Returns 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
-
INTERNET_EXPLORER
Microsoft Internet Explorer -
FIREFOX
Mozilla Firefox -
CHROME
Google Chrome -
EDGE
Microsoft Edge -
SAFARI
Safari browser -
MOBILE_CENTER_BROWSER
The OpenText Functional Testing Lab browser -
PHANTOM_JS
The PhantomJS headless browser.
Note: to use PhantomJS you must install it in a specific location.
For details, see https://admhelp.microfocus.com/uftdev/en/latest/HelpCenter/Content/HowTo/WebApps.htm#setupPhantomJS -
HEADLESS_CHROME
Headless Chrome. -
EDGE_CHROMIUM
Edge Chromium (deprecated).
-
-
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
-
getBrowserTypeString
-