public enum BrowserType extends Enum<BrowserType> implements IBrowserType
Enum Constant and Description |
---|
AndroidBrowser
Android Stock 浏览器
|
Edge |
Firefox |
GoogleChrome |
InternetExplorer |
Safari |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
String |
getLocator()
Deprecated.
自 Silk Test 15 之后不再使用。
|
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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final BrowserType InternetExplorer
public static final BrowserType Firefox
public static final BrowserType GoogleChrome
public static final BrowserType AndroidBrowser
public static final BrowserType Safari
public static final BrowserType Edge
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 null@Deprecated public String getLocator()
getLocator
in interface IBrowserType
public String getDisplayName()
getDisplayName
in interface IBrowserType
Copyright 2009-2012 Micro Focus. All Rights Reserved.