org.unitils.selenium
Class WebDriverFactory
java.lang.Object
org.unitils.selenium.WebDriverFactory
public class WebDriverFactory
- extends Object
- Since:
- 1.0.0
- Author:
- Jeroen Horemans, Thomas De Rycke, Willemijn Wouters
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebDriverFactory
public WebDriverFactory()
createDriver
public static org.openqa.selenium.WebDriver createDriver(BrowserChoice browserChoice,
String downloadPath,
String fileType)
- The webdriver will be created in this method.
- Parameters:
browserChoice - downloadPath - fileType -
- Returns:
WebDriver
createLoggingPreferences
protected static org.openqa.selenium.logging.LoggingPreferences createLoggingPreferences()
createChromeDriver
protected static org.openqa.selenium.WebDriver createChromeDriver()
setLogPropertiesIE
public static void setLogPropertiesIE()
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)
getFileFromProperty
protected static File getFileFromProperty(String property)
getUnitilsProperties
protected static Properties getUnitilsProperties()
Copyright © 2014. All Rights Reserved.