- The fully qualified class name of the Capability Matcher that is currently being used by the Hub.
A capability matcher is used to find out if a capabilities requested by a selenium testcase matches something on
the remote and should be forwarded by the grid.
getNewSessionWaitTimeout
public int getNewSessionWaitTimeout()
Returns:
- The time after which a new test waiting for a node to become available will time out. When that
happens, the test will throw an exception before attempting to start a browser. Defaults to no timeout ( -1 )
isThrowOnCapabilityNotPresent
public boolean isThrowOnCapabilityNotPresent()
Returns:
- If true, the hub will reject all test requests if no compatible proxy is currently registered. If
set to false, the request will queue until a node supporting the capability is registered with the grid.
Default is true
getCleanUpCycle
public int getCleanUpCycle()
Returns:
- time in milli-seconds which represents how often the hub will poll running proxies for timed-out (i.e
. hung) threads.
- list of extra servlets that have been wired into the Grid when it was started.
getJettyMaxThreads
public int getJettyMaxThreads()
Returns:
- max number of threads for Jetty
getNewSessionRequestCount
public int getNewSessionRequestCount()
Returns:
- Represents the number of tests that are waiting for a slot in the Grid so that they can beginning
running. (A valid value is received only when working against a Selenium Grid that runs on Selenium v3.0.1 (or)
higher.
- 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