public class AugmentingEnhancer extends Object implements DroneInstanceEnhancer<org.openqa.selenium.remote.RemoteWebDriver>
RemoteWebDriver
instances so that it implements all interfaces determined by provided Capabilities
.Modifier and Type | Field and Description |
---|---|
static String |
DRONE_AUGMENTED |
Constructor and Description |
---|
AugmentingEnhancer() |
Modifier and Type | Method and Description |
---|---|
boolean |
canEnhance(InstanceOrCallableInstance instance,
Class<?> droneType,
Class<? extends Annotation> qualifier) |
org.openqa.selenium.remote.RemoteWebDriver |
deenhance(org.openqa.selenium.remote.RemoteWebDriver enhancedInstance,
Class<? extends Annotation> qualifier)
Unwraps the instance
|
org.openqa.selenium.remote.RemoteWebDriver |
enhance(org.openqa.selenium.remote.RemoteWebDriver instance,
Class<? extends Annotation> qualifier)
Augments the instance
|
int |
getPrecedence() |
public static final String DRONE_AUGMENTED
public int getPrecedence()
getPrecedence
in interface Sortable
public boolean canEnhance(InstanceOrCallableInstance instance, Class<?> droneType, Class<? extends Annotation> qualifier)
canEnhance
in interface DroneInstanceEnhancer<org.openqa.selenium.remote.RemoteWebDriver>
public org.openqa.selenium.remote.RemoteWebDriver enhance(org.openqa.selenium.remote.RemoteWebDriver instance, Class<? extends Annotation> qualifier)
enhance
in interface DroneInstanceEnhancer<org.openqa.selenium.remote.RemoteWebDriver>
public org.openqa.selenium.remote.RemoteWebDriver deenhance(org.openqa.selenium.remote.RemoteWebDriver enhancedInstance, Class<? extends Annotation> qualifier)
deenhance
in interface DroneInstanceEnhancer<org.openqa.selenium.remote.RemoteWebDriver>
Copyright © 2017 JBoss by Red Hat. All rights reserved.