public class NodeJsonConfiguration extends GridJsonConfiguration
Modifier and Type | Field and Description |
---|---|
java.lang.Integer |
maxSession |
Modifier and Type | Method and Description |
---|---|
java.util.List<org.openqa.selenium.MutableCapabilities> |
getCapabilities()
The capabilties of this node.
|
java.lang.Integer |
getDownPollingLimit()
The down polling limit for the node.
|
java.lang.String |
getHub()
The hub url.
|
java.lang.String |
getHubHost()
The host name or IP of the hub.
|
java.lang.Integer |
getHubPort()
The port of the hub.
|
java.lang.String |
getId()
The id tu use for this node.
|
java.lang.Integer |
getMaxSession()
Max "browser" sessions a node can handle.
|
java.lang.Integer |
getNodePolling()
How often to pull the node.
|
java.lang.Integer |
getNodeStatusCheckTimeout()
When to time out a node status check.
|
java.lang.String |
getProxy()
The proxy class name to use.
|
java.lang.Boolean |
getRegister()
Whether to register this node with the hub.
|
java.lang.Integer |
getRegisterCycle()
How often to re-register this node with the hub.
|
java.lang.Integer |
getUnregisterIfStillDownAfter()
How long to wait before marking this node down.
|
boolean |
isEnablePlatformVerification()
Whether or not to drop capabilities that does not belong to the current platform family.
|
static NodeJsonConfiguration |
loadFromJson(org.openqa.selenium.json.JsonInput source) |
static NodeJsonConfiguration |
loadFromResourceOrFile(java.lang.String source) |
getCustom, getServlets, getWithoutServlets
getBrowserTimeout, getDebug, getHost, getJettyMaxThreads, getLog, getPort, getRole, getTimeout
public static NodeJsonConfiguration loadFromJson(org.openqa.selenium.json.JsonInput source)
public static NodeJsonConfiguration loadFromResourceOrFile(java.lang.String source)
public java.lang.String getHubHost()
null
.public java.lang.Integer getHubPort()
null
.public java.lang.String getId()
null
. Defaults to null
.public java.util.List<org.openqa.selenium.MutableCapabilities> getCapabilities()
public java.lang.Integer getMaxSession()
public java.lang.Integer getDownPollingLimit()
public java.lang.String getHub()
public java.lang.Integer getNodePolling()
public java.lang.Integer getNodeStatusCheckTimeout()
public java.lang.String getProxy()
public java.lang.Boolean getRegister()
true
public java.lang.Integer getRegisterCycle()
public java.lang.Integer getUnregisterIfStillDownAfter()
public boolean isEnablePlatformVerification()
true