net.thucydides.core.webdriver
Class WebdriverInstanceFactory
java.lang.Object
net.thucydides.core.webdriver.WebdriverInstanceFactory
public class WebdriverInstanceFactory
- extends Object
Centralize instantiation of WebDriver drivers.
|
Method Summary |
org.openqa.selenium.WebDriver |
newInstanceOf(Class<? extends org.openqa.selenium.WebDriver> webdriverClass)
|
org.openqa.selenium.WebDriver |
newInstanceOf(Class<? extends org.openqa.selenium.WebDriver> webdriverClass,
org.openqa.selenium.firefox.FirefoxProfile profile)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebdriverInstanceFactory
public WebdriverInstanceFactory()
newInstanceOf
public org.openqa.selenium.WebDriver newInstanceOf(Class<? extends org.openqa.selenium.WebDriver> webdriverClass)
throws IllegalAccessException,
InstantiationException
- Throws:
IllegalAccessException
InstantiationException
newInstanceOf
public org.openqa.selenium.WebDriver newInstanceOf(Class<? extends org.openqa.selenium.WebDriver> webdriverClass,
org.openqa.selenium.firefox.FirefoxProfile profile)
throws IllegalAccessException,
InstantiationException,
NoSuchMethodException,
InvocationTargetException
- Throws:
IllegalAccessException
InstantiationException
NoSuchMethodException
InvocationTargetException
Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.