public class CapabilitiesOptionsMapper extends Object
| Constructor and Description |
|---|
CapabilitiesOptionsMapper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
mapCapabilities(Object object,
org.openqa.selenium.remote.DesiredCapabilities capabilities,
String browserPrefix)
Parses capabilities set in
DesiredCapabilities and according to set-method names it sets the values into
corresponding variables of the given Object instance. |
public static void mapCapabilities(Object object, org.openqa.selenium.remote.DesiredCapabilities capabilities, String browserPrefix)
DesiredCapabilities and according to set-method names it sets the values into
corresponding variables of the given Object instance. It is expected that the parameters defined in arquillian.xml
file have a specific browserPrefix; after this prefix then there is the parameter name itself
(whole string has to be in camelcase)object - An instance of an object the values should be set intocapabilities - A DesiredCapabilities that contains parameters and its values set in arquillian.xmlbrowserPrefix - A prefix the should the mapped parameters should start withCopyright © 2021 JBoss by Red Hat. All rights reserved.