|
Arquillian Drone Extension Support for Selenium 1.0.0.CR4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.drone.selenium.configuration.SeleniumConfiguration
public class SeleniumConfiguration
Configuration for Selenium. This configuration can be fetched from Arquillian Descriptor and overridden by System properties.
ConfigurationMapper| Field Summary | |
|---|---|
static String |
CONFIGURATION_NAME
|
| Constructor Summary | |
|---|---|
SeleniumConfiguration()
Creates default Selenium Configuration |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CONFIGURATION_NAME
| Constructor Detail |
|---|
public SeleniumConfiguration()
| Method Detail |
|---|
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()
|
Arquillian Drone Extension Support for Selenium 1.0.0.CR4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||