public enum Engine extends Enum<Engine>
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract <T> T |
browser() |
protected abstract org.openqa.selenium.remote.RemoteWebDriver |
browser(URL url) |
static Engine |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Engine[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Engine PHANTOMJS
public static final Engine IE
public static final Engine FIREFOX
public static final Engine CHROME
public static final Engine SAFARI
public static final Engine OPERA
public static Engine[] values()
for (Engine c : Engine.values()) System.out.println(c);
public static Engine valueOf(String name)
name - 要返回的枚举常量的名称。protected abstract <T> T browser()
protected abstract org.openqa.selenium.remote.RemoteWebDriver browser(URL url)
Copyright © 2014. All rights reserved.