Class DockerRemoteWebDriverFactory
java.lang.Object
org.jboss.arquillian.drone.webdriver.factory.DockerRemoteWebDriverFactory
- All Implemented Interfaces:
org.jboss.arquillian.drone.spi.Configurator<org.openqa.selenium.remote.RemoteWebDriver,,org.jboss.arquillian.drone.webdriver.configuration.WebDriverConfiguration> org.jboss.arquillian.drone.spi.Destructor<org.openqa.selenium.remote.RemoteWebDriver>,org.jboss.arquillian.drone.spi.Instantiator<org.openqa.selenium.remote.RemoteWebDriver,,org.jboss.arquillian.drone.webdriver.configuration.WebDriverConfiguration> org.jboss.arquillian.drone.spi.Sortable
public class DockerRemoteWebDriverFactory
extends Object
implements org.jboss.arquillian.drone.spi.Configurator<org.openqa.selenium.remote.RemoteWebDriver,org.jboss.arquillian.drone.webdriver.configuration.WebDriverConfiguration>, org.jboss.arquillian.drone.spi.Instantiator<org.openqa.selenium.remote.RemoteWebDriver,org.jboss.arquillian.drone.webdriver.configuration.WebDriverConfiguration>, org.jboss.arquillian.drone.spi.Destructor<org.openqa.selenium.remote.RemoteWebDriver>
Custom Remote WebDriver Factory that generates a RemoteWebDriver pointing to Docker Selenium Docker IP.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.jboss.arquillian.core.api.Instance<org.jboss.arquillian.drone.webdriver.spi.BrowserCapabilitiesRegistry> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.arquillian.drone.webdriver.configuration.WebDriverConfigurationcreateConfiguration(org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor arg0, org.jboss.arquillian.drone.spi.DronePoint<org.openqa.selenium.remote.RemoteWebDriver> arg1) org.openqa.selenium.remote.RemoteWebDrivercreateInstance(org.jboss.arquillian.drone.webdriver.configuration.WebDriverConfiguration webDriverConfiguration) voiddestroyInstance(org.openqa.selenium.remote.RemoteWebDriver remoteWebDriver) 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
-
Field Details
-
registryInstance
@Inject protected org.jboss.arquillian.core.api.Instance<org.jboss.arquillian.drone.webdriver.spi.BrowserCapabilitiesRegistry> registryInstance
-
-
Constructor Details
-
DockerRemoteWebDriverFactory
public DockerRemoteWebDriverFactory()
-
-
Method Details
-
destroyInstance
public void destroyInstance(org.openqa.selenium.remote.RemoteWebDriver remoteWebDriver) - Specified by:
destroyInstancein interfaceorg.jboss.arquillian.drone.spi.Destructor<org.openqa.selenium.remote.RemoteWebDriver>
-
createInstance
public org.openqa.selenium.remote.RemoteWebDriver createInstance(org.jboss.arquillian.drone.webdriver.configuration.WebDriverConfiguration webDriverConfiguration) - Specified by:
createInstancein interfaceorg.jboss.arquillian.drone.spi.Instantiator<org.openqa.selenium.remote.RemoteWebDriver,org.jboss.arquillian.drone.webdriver.configuration.WebDriverConfiguration>
-
getDriverReadableName
-
getPrecedence
public int getPrecedence()- Specified by:
getPrecedencein interfaceorg.jboss.arquillian.drone.spi.Sortable
-
createConfiguration
public org.jboss.arquillian.drone.webdriver.configuration.WebDriverConfiguration createConfiguration(org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor arg0, org.jboss.arquillian.drone.spi.DronePoint<org.openqa.selenium.remote.RemoteWebDriver> arg1) - Specified by:
createConfigurationin interfaceorg.jboss.arquillian.drone.spi.Configurator<T extends org.openqa.selenium.WebDriver,org.jboss.arquillian.drone.webdriver.configuration.WebDriverConfiguration>
-