org.unitils.selenium
Class WebDriverFactory

java.lang.Object
  extended by org.unitils.selenium.WebDriverFactory

public class WebDriverFactory
extends Object

Since:
1.0.0
Author:
Jeroen Horemans, Thomas De Rycke, Willemijn Wouters

Constructor Summary
WebDriverFactory()
           
 
Method Summary
static org.openqa.selenium.WebDriver createDriver(BrowserChoice browserChoice, String downloadPath, String fileType)
          The webdriver will be created in this method.
static org.openqa.selenium.WebDriver createDriver(BrowserChoice browserChoice, String proxyUrl, String downloadPath, String fileType)
           
protected static org.openqa.selenium.WebDriver createFireFoxDriver(String downloadPath, String fileType)
           
protected static org.openqa.selenium.WebDriver createFireFoxDriver(String proxyUrl, String downloadPath, String fileType)
           
protected static org.openqa.selenium.WebDriver createInternetExplorerDriver(String proxyUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebDriverFactory

public WebDriverFactory()
Method Detail

createDriver

public static org.openqa.selenium.WebDriver createDriver(BrowserChoice browserChoice,
                                                         String downloadPath,
                                                         String fileType)
The webdriver will be created in this method.

Parameters:
browserChoice -
Returns:
WebDriver

createInternetExplorerDriver

protected static org.openqa.selenium.WebDriver createInternetExplorerDriver(String proxyUrl)

createDriver

public static org.openqa.selenium.WebDriver createDriver(BrowserChoice browserChoice,
                                                         String proxyUrl,
                                                         String downloadPath,
                                                         String fileType)

createFireFoxDriver

protected static org.openqa.selenium.WebDriver createFireFoxDriver(String downloadPath,
                                                                   String fileType)

createFireFoxDriver

protected static org.openqa.selenium.WebDriver createFireFoxDriver(String proxyUrl,
                                                                   String downloadPath,
                                                                   String fileType)


Copyright © 2014. All Rights Reserved.