public class SelfRegisteringRemote extends Object
Constructor and Description |
---|
SelfRegisteringRemote(RegistrationRequest config) |
Modifier and Type | Method and Description |
---|---|
void |
addBrowser(org.openqa.selenium.remote.DesiredCapabilities cap,
int instances)
Adding the browser described by the capability, automatically finding out what platform the
node is launched from
|
void |
deleteAllBrowsers() |
Map<String,Object> |
getConfiguration() |
URL |
getRemoteURL() |
void |
sendRegistrationRequest()
sends 1 registration request, bypassing the retry logic and the proxy already registered check.
|
void |
setMaxConcurrent(int max) |
void |
setTimeout(int timeout,
int cycle) |
void |
startRegistrationProcess()
register the hub following the configuration :
|
void |
startRemoteServer() |
void |
stopRemoteServer() |
public SelfRegisteringRemote(RegistrationRequest config)
public URL getRemoteURL()
public void stopRemoteServer()
public void deleteAllBrowsers()
public void addBrowser(org.openqa.selenium.remote.DesiredCapabilities cap, int instances)
cap
- describing the browserinstances
- number of times this browser can be started on the node.public void sendRegistrationRequest()
public void startRegistrationProcess()
- check if the proxy is already registered before sending a reg request.
- register again every X ms is specified in the config of the node.
public void setTimeout(int timeout, int cycle)
public void setMaxConcurrent(int max)
Copyright © 2015. All rights reserved.