public final class ResolverConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PHANTOMJS_BINARY_RESOLVER
A capability name which denotes which Binary resolver will be used to obtain a
PhantomJSBinary |
static String |
PHANTOMJS_BINARY_VERSION
Defines the version of PhantomJS executable binary to resolve
|
static String |
PHANTOMJS_EXECUTABLE_PATH
Defines the location of the PhantomJS executable where should be binary found or where should be binary automatically
resolved
|
static String |
PREFER_RESOLVED
Set capability to true when binary should be resolved from a binary resolver; set to false when a binary from PATH should
be prefered
|
| Modifier and Type | Method and Description |
|---|---|
File |
executablePath() |
static ResolverConfiguration |
get()
Default configuration which resolves just from System properties or default value
|
static ResolverConfiguration |
get(org.openqa.selenium.Capabilities capabilities)
Resolves from capabilities or system properties or default value
|
boolean |
preferResolved() |
PhantomJSBinaryResolver |
resolver() |
String |
version() |
public static final String PREFER_RESOLVED
public static final String PHANTOMJS_BINARY_RESOLVER
PhantomJSBinarypublic static final String PHANTOMJS_EXECUTABLE_PATH
public static final String PHANTOMJS_BINARY_VERSION
public static ResolverConfiguration get()
public static ResolverConfiguration get(org.openqa.selenium.Capabilities capabilities)
public boolean preferResolved()
public PhantomJSBinaryResolver resolver()
public File executablePath()
public String version()
Copyright © 2016 JBoss by Red Hat. All rights reserved.