public class GridApiAssistant extends Object
| Constructor and Description |
|---|
GridApiAssistant(Host grid) |
| Modifier and Type | Method and Description |
|---|---|
HubConfiguration |
getHubConfiguration()
A utility method that retrieves the Hub's configuration.
|
NodeConfiguration |
getNodeConfigForSession(Host node)
A utility method that helps get the configuration details of a particular node to which the hub routed a test to.
|
Host |
getNodeDetailsForSession(String sessionId)
A utility method that helps figure out to which node did the hub route your test to.
|
public Host getNodeDetailsForSession(String sessionId)
sessionId - - The session Id that can be retrieved via driver.getSessionId() [ here
driver is usually a RemoteWebDriver instance.Host object that represents the node ip and port to which the Selenium Hub routed the
test case.public NodeConfiguration getNodeConfigForSession(Host node)
node - - A Host object that represents a particular node to which a test was routed to. This
information can be obtained by invoking {getNodeDetailsForSession(String)}.NodeConfiguration object that represents the configuration information of a particular node.public HubConfiguration getHubConfiguration()
HubConfiguration object that represents the Selenium Hub's configuration.Copyright © 2017. All rights reserved.