Class WebDriverFactory
java.lang.Object
org.jboss.arquillian.drone.webdriver.factory.WebDriverFactory
- All Implemented Interfaces:
Configurator<org.openqa.selenium.WebDriver,,WebDriverConfiguration> Destructor<org.openqa.selenium.WebDriver>,Instantiator<org.openqa.selenium.WebDriver,,WebDriverConfiguration> Sortable
public class WebDriverFactory
extends Object
implements Configurator<org.openqa.selenium.WebDriver,WebDriverConfiguration>, Instantiator<org.openqa.selenium.WebDriver,WebDriverConfiguration>, Destructor<org.openqa.selenium.WebDriver>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateConfiguration(org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor descriptor, DronePoint<org.openqa.selenium.WebDriver> dronePoint) org.openqa.selenium.WebDrivercreateInstance(WebDriverConfiguration configuration) voiddestroyInstance(org.openqa.selenium.WebDriver instance) protected StringintMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.arquillian.drone.spi.Configurator
createConfiguration
-
Constructor Details
-
WebDriverFactory
public WebDriverFactory()
-
-
Method Details
-
getPrecedence
public int getPrecedence()- Specified by:
getPrecedencein interfaceSortable
-
destroyInstance
public void destroyInstance(org.openqa.selenium.WebDriver instance) - Specified by:
destroyInstancein interfaceDestructor<org.openqa.selenium.WebDriver>
-
createInstance
- Specified by:
createInstancein interfaceInstantiator<org.openqa.selenium.WebDriver,WebDriverConfiguration>
-
getDriverReadableName
-
createConfiguration
public WebDriverConfiguration createConfiguration(org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor descriptor, DronePoint<org.openqa.selenium.WebDriver> dronePoint) - Specified by:
createConfigurationin interfaceConfigurator<T extends org.openqa.selenium.WebDriver,WebDriverConfiguration>
-