public enum BrowserType extends Enum<BrowserType>
| Modifier and Type | Method and Description |
|---|---|
Class<? extends org.openqa.selenium.WebDriver> |
getDriverClass() |
String |
toString() |
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 CHROME
public static final BrowserType FIREFOX
public static final BrowserType IEXPLORER
public static final BrowserType SAFARI
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 Class<? extends org.openqa.selenium.WebDriver> getDriverClass()
public String toString()
toString in class Enum<BrowserType>Copyright © 2019 Kurento. All rights reserved.