net.thucydides.core.webdriver
Class WebdriverInstanceFactory

Package class diagram package WebdriverInstanceFactory
java.lang.Object
  extended by net.thucydides.core.webdriver.WebdriverInstanceFactory

public class WebdriverInstanceFactory
extends Object

Centralize instantiation of WebDriver drivers.


Constructor Summary
WebdriverInstanceFactory()
           
 
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
 

Constructor Detail

WebdriverInstanceFactory

public WebdriverInstanceFactory()
Method Detail

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.