org.openqa.grid.selenium.utils
Class GridConfiguration
java.lang.Object
org.openqa.grid.selenium.utils.GridConfiguration
public class GridConfiguration
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GridConfiguration
public GridConfiguration()
parse
public static GridConfiguration parse(String[] args)
isThrowOnCapabilityNotPresent
public boolean isThrowOnCapabilityNotPresent()
setThrowOnCapabilityNotPresent
public void setThrowOnCapabilityNotPresent(boolean throwOnCapabilityNotPresent)
getServlets
public List<String> getServlets()
- To get the list of extra servlet the hub should register.
- Returns:
getCapabilities
public List<DesiredCapabilities> getCapabilities()
getHost
public String getHost()
setHost
public void setHost(String host)
getRegistrationURL
public URL getRegistrationURL()
setRegistrationURL
public void setRegistrationURL(URL registrationURL)
getRole
public GridRole getRole()
getPort
public int getPort()
setRole
public void setRole(GridRole role)
setPort
public void setPort(int port)
validate
public void validate()
- Validate the current config
- Throws:
InvalidParameterException
- if the CLA are wrong
setSeleniumServerArgs
public void setSeleniumServerArgs(List<String> leftOver)
getNodeRemoteControlConfiguration
public RemoteControlConfiguration getNodeRemoteControlConfiguration()
setNodeTimeoutInSec
public void setNodeTimeoutInSec(int sec)
getNodeTimeoutInSec
public int getNodeTimeoutInSec()
getMaxConcurrentTests
public int getMaxConcurrentTests()
setMaxConcurrentTests
public void setMaxConcurrentTests(int maxConcurrent)
getFile
public String getFile()
Copyright © 2011. All Rights Reserved.