org.plovr.webdriver
Class ReflectionWebDriverFactory
java.lang.Object
org.plovr.webdriver.ReflectionWebDriverFactory
- All Implemented Interfaces:
- WebDriverFactory
public final class ReflectionWebDriverFactory
- extends Object
- implements WebDriverFactory
Method Summary |
org.openqa.selenium.WebDriver |
newInstance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReflectionWebDriverFactory
public ReflectionWebDriverFactory(String webDriverClassName)
- Parameters:
webDriverClassName
- a fully-qualified class name of a class that
implements WebDriver
, such as
"org.openqa.selenium.firefox.FirefoxDriver" or
"org.openqa.selenium.htmlunit.HtmlUnitDriver"
newInstance
public org.openqa.selenium.WebDriver newInstance()
- Specified by:
newInstance
in interface WebDriverFactory