- IP or hostname of the Hub that was set when the Hub was spun off (or) null if not set.
People usually resort to setting the hub's host/ip explicitly when there's an exotic network configurations
(e.g. network with VPN) involved.
getPort
public int getPort()
Returns:
- The port on which the hub is running.
getTimeout
public int getTimeout()
Returns:
- the timeout in seconds before the server automatically kills a session that hasn't had any activity in
the last X seconds. The test slot will then be released for another test to use. This is typically used to
take care of client crashes.
getMaxSession
public int getMaxSession()
Returns:
- max number of tests that can run at the same time on the node, irrespective of the browser used.
getBrowserTimeout
public int getBrowserTimeout()
Returns:
- number of seconds a browser session is allowed to hang (0 means indefinite) while a WebDriver
command is running (example: driver.get(url)).
If the timeout is reached while a WebDriver command is still processing, the session will quit.
Minimum value is 60. Default is 0