|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.aludratest.service.gui.web.selenium.selenium2.Selenium2Driver
public class Selenium2Driver
Enumerates the available web drivers for Selenium 2.
Field Summary | |
---|---|
static Selenium2Driver |
CHROME
Google Chrome driver |
static Selenium2Driver |
FIREFOX
Firefox driver |
static Selenium2Driver |
HTML_UNIT
HTMLUnit driver |
static Selenium2Driver |
INTERNET_EXPLORER
Internet Explorer driver |
static Selenium2Driver |
PHANTOMJS
PhantomJS driver |
static Selenium2Driver |
SAFARI
Safari driver |
Method Summary | |
---|---|
String |
getBrowserName()
|
org.openqa.selenium.WebDriver |
newLocalDriver()
|
org.openqa.selenium.WebDriver |
newRemoteDriver(URL url,
String[] arguments)
|
static Selenium2Driver |
valueOf(String driverName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Selenium2Driver FIREFOX
public static Selenium2Driver INTERNET_EXPLORER
public static Selenium2Driver HTML_UNIT
public static Selenium2Driver CHROME
public static Selenium2Driver SAFARI
public static Selenium2Driver PHANTOMJS
Method Detail |
---|
public String getBrowserName()
public org.openqa.selenium.WebDriver newLocalDriver()
public org.openqa.selenium.WebDriver newRemoteDriver(URL url, String[] arguments)
url
- the URL for which to create a WebDriver instance.arguments
- Additional arguments to include for the WebDriver instance, or an empty array.
public static Selenium2Driver valueOf(String driverName)
driverName
- the name of the driver
IllegalArgumentException
- if no driver is configured with this name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |