public class SeleniumConfiguration extends Object implements DroneConfiguration<SeleniumConfiguration>
Modifier and Type | Field and Description |
---|---|
static String |
CONFIGURATION_NAME |
Constructor and Description |
---|
SeleniumConfiguration()
Creates default Selenium Configuration
|
Modifier and Type | Method and Description |
---|---|
SeleniumConfiguration |
configure(org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor descriptor,
Class<? extends Annotation> qualifier) |
String |
getBrowser()
Identification of the browser for needs of Selenium.
|
String |
getConfigurationName() |
String |
getServerHost()
The name of machine where Selenium configuration is started/running
|
int |
getServerPort()
A port where Selenium configuration is started/running
|
int |
getSpeed()
Time delay in milliseconds before each Selenium command is sent
|
int |
getTimeout()
Time limit in milliseconds which determines operation failed, either for executing Selenium command or starting Selenium
configuration
|
String |
getUrl() |
void |
setBrowser(String browser) |
void |
setServerHost(String serverHost) |
void |
setServerPort(int serverPort) |
void |
setSpeed(int speed) |
void |
setTimeout(int timeout) |
void |
setUrl(String url) |
public static final String CONFIGURATION_NAME
public SeleniumConfiguration()
public String getConfigurationName()
getConfigurationName
in interface DroneConfiguration<SeleniumConfiguration>
public SeleniumConfiguration configure(org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor descriptor, Class<? extends Annotation> qualifier)
configure
in interface DroneConfiguration<SeleniumConfiguration>
public int getServerPort()
public void setServerPort(int serverPort)
serverPort
- the serverPort to setpublic String getServerHost()
public void setServerHost(String serverHost)
serverHost
- the serverHost to setpublic int getTimeout()
public void setTimeout(int timeout)
timeout
- the timeout to setpublic int getSpeed()
public void setSpeed(int speed)
speed
- the speed to setpublic String getBrowser()
public void setBrowser(String browser)
browser
- the browser to setpublic void setUrl(String url)
url
- the url to setpublic String getUrl()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.