public enum BrowserType extends Enum<BrowserType>
| Enum Constant and Description |
|---|
Android |
Chrome |
FireFox |
HtmlUnit |
InternetExplore |
IPhone |
Marionette |
PhantomJS |
Safari |
SauceLabs |
| Modifier and Type | Method and Description |
|---|---|
String |
getBrowserType() |
static BrowserType |
getBrowserType(String browserType) |
static BrowserType |
valueOf(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.
|
public static final BrowserType FireFox
public static final BrowserType Marionette
public static final BrowserType InternetExplore
public static final BrowserType Chrome
public static final BrowserType HtmlUnit
public static final BrowserType Safari
public static final BrowserType Android
public static final BrowserType IPhone
public static final BrowserType PhantomJS
public static final BrowserType SauceLabs
public static BrowserType[] values()
for (BrowserType c : BrowserType.values()) System.out.println(c);
public static BrowserType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static BrowserType getBrowserType(String browserType)
public String getBrowserType()
Copyright © 2018. All rights reserved.