public class OperaDriverFactory extends Object implements Configurator<org.openqa.selenium.opera.OperaDriver,WebDriverConfiguration>, Instantiator<org.openqa.selenium.opera.OperaDriver,WebDriverConfiguration>, Destructor<org.openqa.selenium.opera.OperaDriver>
Modifier and Type | Field and Description |
---|---|
protected org.jboss.arquillian.core.api.Instance<BrowserCapabilitiesRegistry> |
registryInstance |
Constructor and Description |
---|
OperaDriverFactory() |
Modifier and Type | Method and Description |
---|---|
WebDriverConfiguration |
createConfiguration(org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor descriptor,
DronePoint<T> dronePoint) |
org.openqa.selenium.opera.OperaDriver |
createInstance(WebDriverConfiguration configuration) |
void |
destroyInstance(org.openqa.selenium.opera.OperaDriver instance) |
org.openqa.selenium.Capabilities |
getCapabilities(WebDriverConfiguration configuration,
boolean performValidations)
Returns a
Capabilities instance which is completely same as that one that is contained in the configuration
object itself - there is no necessary properties to be set. |
protected String |
getDriverReadableName() |
int |
getPrecedence() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createConfiguration
@Inject protected org.jboss.arquillian.core.api.Instance<BrowserCapabilitiesRegistry> registryInstance
public int getPrecedence()
getPrecedence
in interface Sortable
public org.openqa.selenium.opera.OperaDriver createInstance(WebDriverConfiguration configuration)
createInstance
in interface Instantiator<org.openqa.selenium.opera.OperaDriver,WebDriverConfiguration>
public org.openqa.selenium.Capabilities getCapabilities(WebDriverConfiguration configuration, boolean performValidations)
Capabilities
instance which is completely same as that one that is contained in the configuration
object itself - there is no necessary properties to be set.configuration
- A configuration object for Drone extensionperformValidations
- Whether a potential validation should be performed;
if set to true an IllegalArgumentException (or other exception) can be thrown in case requirements are not metCapabilities
instancepublic void destroyInstance(org.openqa.selenium.opera.OperaDriver instance)
destroyInstance
in interface Destructor<org.openqa.selenium.opera.OperaDriver>
protected String getDriverReadableName()
public WebDriverConfiguration createConfiguration(org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor descriptor, DronePoint<T> dronePoint)
createConfiguration
in interface Configurator<T extends org.openqa.selenium.WebDriver,WebDriverConfiguration>
Copyright © 2017 JBoss by Red Hat. All rights reserved.