public abstract class DefaultCapabilitiesBuilder extends Object
DesiredCapabilities
which is pre-filled with all the common properties
that are considered de-facto for all browsers.Modifier and Type | Field and Description |
---|---|
protected static SimpleLogger |
logger |
Constructor and Description |
---|
DefaultCapabilitiesBuilder() |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.remote.DesiredCapabilities |
createCapabilities() |
abstract org.openqa.selenium.remote.DesiredCapabilities |
getCapabilities(org.openqa.selenium.remote.DesiredCapabilities capabilities) |
org.openqa.selenium.remote.DesiredCapabilities |
getDefaultCapabilities() |
String |
getLocalConfigProperty(Config.ConfigProperty configProperty) |
String |
getUserAgent() |
boolean |
isLocalRun() |
protected static final SimpleLogger logger
public org.openqa.selenium.remote.DesiredCapabilities createCapabilities()
public abstract org.openqa.selenium.remote.DesiredCapabilities getCapabilities(org.openqa.selenium.remote.DesiredCapabilities capabilities)
public org.openqa.selenium.remote.DesiredCapabilities getDefaultCapabilities()
public boolean isLocalRun()
true
if the user is running locally.public String getUserAgent()
public String getLocalConfigProperty(Config.ConfigProperty configProperty)
configProperty
- The Config.ConfigProperty
that is to be queried from the local <test>Copyright © 2016 PayPal Open Source. All rights reserved.