|
Arquillian Drone Extension Support for Selenium Server 1.0.0.CR3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.drone.selenium.server.configuration.SeleniumServerConfiguration
public class SeleniumServerConfiguration
Configuration for Selenium Server. This configuration can be fetched from Arquillian Descriptor and overridden by System properties.
ConfigurationMapper| Field Summary | |
|---|---|
static String |
CONFIGURATION_NAME
|
| Constructor Summary | |
|---|---|
SeleniumServerConfiguration()
Creates default Selenium Server Configuration |
|
| Method Summary | |
|---|---|
SeleniumServerConfiguration |
configure(org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor descriptor,
Class<? extends Annotation> qualifier)
|
String |
getConfigurationName()
|
String |
getFirefoxProfileTemplate()
Gets the path to the directory where a Firefox profile is stored |
String |
getForcedBrowserMode()
Gets enforced browser name |
String |
getHost()
Gets the host where Selenium server is listening for requests |
String |
getLogFile()
Gets path to the log file |
String |
getNonProxyHosts()
Gets list of server not proxied, comma separated |
String |
getOutput()
Deprecated. |
int |
getPort()
Gets the port where Selenium server is listening for requests |
String |
getProfilesLocation()
Gets location of the Firefox profiles |
String |
getProxyHost()
Gets host name of proxy |
String |
getProxyPort()
Gets port of the proxy |
int |
getRetryTimeoutInSeconds()
Gets timeout for retrying a request |
String |
getSystemProperties()
Gets additional system properties |
int |
getTimeoutInSeconds()
Gets global timeout for Selenium server. |
String |
getTrustStore()
Gets path to the trust store |
String |
getTrustStorePassword()
Gets password to the trust store |
String |
getUserExtensions()
Gets path to the file where user specified JavaScript extensions |
boolean |
isAvoidProxy()
Gets flag marking Selenium server to avoid proxy |
boolean |
isBrowserSessionReuse()
Reuse browser session between browsers |
boolean |
isBrowserSideLog()
Gets flag whether logging in browser window is enabled |
boolean |
isDebug()
Gets debug flag |
boolean |
isDontTouchLogging()
Gets logging type flag |
boolean |
isEnable()
Deprecated. |
boolean |
isEnsureCleanSession()
Gets flag ensuring session is clean |
boolean |
isHonorSystemProxy()
Gets flag whether Selenium server is honoring the system proxy |
boolean |
isProxyInjectionMode()
Gets proxy injection flag |
boolean |
isSingleWindow()
Gets flag whether Selenium server is using single window |
boolean |
isSkip()
Checks whether start of Selenium server is enabled |
boolean |
isTrustAllSSLCertificates()
Gets flag whether Selenium server is trusting all SSL certificates |
void |
setAvoidProxy(boolean avoidProxy)
Sets Selenium Server to avoid proxy server |
void |
setBrowserSessionReuse(boolean browserSessionReuse)
Sets browser session to be reused between browsers |
void |
setBrowserSideLog(boolean browserSideLog)
Enables or disables logging on server side log |
void |
setDebug(boolean debug)
Enables or disabled debug messages |
void |
setDontTouchLogging(boolean dontTouchLogging)
Sets logging not to be done by Selenium loggers |
void |
setEnable(boolean enable)
Deprecated. |
void |
setEnsureCleanSession(boolean ensureCleanSession)
Forces or disabled cleaning browser session |
void |
setFirefoxProfileTemplate(String firefoxProfileTemplate)
Sets the path to the directory where a Firefox profile is stored. |
void |
setForcedBrowserMode(String forcedBrowserMode)
Forces browser to be of given type |
void |
setHonorSystemProxy(boolean honorSystemProxy)
Sets Selenium server to use system proxy settings |
void |
setHost(String host)
Sets the host where Selenium server is listening for requests |
void |
setLogFile(String logFile)
Sets the path to the log file |
void |
setNonProxyHosts(String nonProxyHosts)
Sets list (comma separated) of host where proxying is not applied |
void |
setOutput(String output)
Deprecated. |
void |
setPort(int port)
Sets the port where Selenium server is listening for requests |
void |
setProfilesLocation(String profilesLocation)
Sets location of the Firefox profiles |
void |
setProxyHost(String proxyHost)
Sets host name of proxy |
void |
setProxyInjectionMode(boolean proxyInjectionMode)
Allows proxy injection on Selenium server side |
void |
setProxyPort(String proxyPort)
Sets port of the proxy |
void |
setRetryTimeoutInSeconds(int retryTimeoutInSeconds)
Sets timeout for retrying a request |
void |
setSingleWindow(boolean singleWindow)
Enforces server to use a single window |
void |
setSkip(boolean skip)
Enables or disabled start of Selenium server |
void |
setSystemProperties(String systemProperties)
Sets additional system properties. |
void |
setTimeoutInSeconds(int timeoutInSeconds)
Sets global timeout for Selenium server. |
void |
setTrustAllSSLCertificates(boolean trustAllSSLCertificates)
Sets Selenium server to trust all certificates |
void |
setTrustStore(String trustStore)
Sets path to the trust store |
void |
setTrustStorePassword(String trustStorePassword)
Sets path to the trust store |
void |
setUserExtensions(String userExtensions)
Sets path to the file where user specified JavaScript extensions |
| 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 SeleniumServerConfiguration()
| Method Detail |
|---|
public SeleniumServerConfiguration configure(org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor descriptor,
Class<? extends Annotation> qualifier)
configure in interface DroneConfiguration<SeleniumServerConfiguration>public String getConfigurationName()
getConfigurationName in interface DroneConfiguration<SeleniumServerConfiguration>public int getPort()
public void setPort(int port)
port - the port to setpublic String getHost()
public void setHost(String host)
host - the host to set@Deprecated public String getOutput()
SeleniumServerConfiguration.getLogFile()@Deprecated public void setOutput(String output)
output - the output to setSeleniumServerConfiguration.setLogFile(String)@Deprecated public boolean isEnable()
SeleniumServerConfiguration.isSkip()@Deprecated public void setEnable(boolean enable)
enable - the enable to setSeleniumServerConfiguration.setSkip(boolean)public String getLogFile()
public void setLogFile(String logFile)
logFile - the logFile to setpublic boolean isAvoidProxy()
public void setAvoidProxy(boolean avoidProxy)
avoidProxy - the avoidProxy to setpublic boolean isBrowserSessionReuse()
public void setBrowserSessionReuse(boolean browserSessionReuse)
browserSessionReuse - the browserSessionReuse to setpublic boolean isBrowserSideLog()
public void setBrowserSideLog(boolean browserSideLog)
browserSideLog - the browserSideLog to setpublic boolean isDebug()
public void setDebug(boolean debug)
debug - the debug to setpublic void setDontTouchLogging(boolean dontTouchLogging)
dontTouchLogging - the dontTouchLogging to setpublic boolean isDontTouchLogging()
public boolean isEnsureCleanSession()
public void setEnsureCleanSession(boolean ensureCleanSession)
ensureCleanSession - the ensureCleanSession to setpublic String getFirefoxProfileTemplate()
public void setFirefoxProfileTemplate(String firefoxProfileTemplate)
firefoxProfileTemplate - the firefoxProfileTemplate to setpublic String getForcedBrowserMode()
public void setForcedBrowserMode(String forcedBrowserMode)
forcedBrowserMode - the forcedBrowserMode to setpublic void setHonorSystemProxy(boolean honorSystemProxy)
honorSystemProxy - the honorSystemProxy to setpublic boolean isHonorSystemProxy()
public String getNonProxyHosts()
public void setNonProxyHosts(String nonProxyHosts)
nonProxyHosts - the nonProxyHosts to setpublic String getProfilesLocation()
public void setProfilesLocation(String profilesLocation)
profilesLocation - the profilesLocation to setpublic String getProxyHost()
public void setProxyHost(String proxyHost)
proxyHost - the proxyHost to setpublic void setProxyInjectionMode(boolean proxyInjectionMode)
proxyInjectionMode - the proxyInjectionMode to setpublic boolean isProxyInjectionMode()
public String getProxyPort()
public void setProxyPort(String proxyPort)
proxyPort - the proxyPort to setpublic void setRetryTimeoutInSeconds(int retryTimeoutInSeconds)
retryTimeoutInSeconds - the retryTimeoutInSeconds to setpublic int getRetryTimeoutInSeconds()
public boolean isSingleWindow()
public void setSingleWindow(boolean singleWindow)
singleWindow - the singleWindow to setpublic boolean isSkip()
public void setSkip(boolean skip)
skip - the skip to setpublic void setSystemProperties(String systemProperties)
This properties should be specified in format:
-Dfoo=bar -Dfoo2=bar2
systemProperties - the systemProperties to setpublic String getSystemProperties()
public void setTimeoutInSeconds(int timeoutInSeconds)
Integer.MAX_VALUE
After this timeout all request will fail
timeoutInSeconds - the timeoutInSeconds to setpublic int getTimeoutInSeconds()
public boolean isTrustAllSSLCertificates()
public void setTrustAllSSLCertificates(boolean trustAllSSLCertificates)
trustAllSSLCertificates - the trustAllSSLCertificates to setpublic String getTrustStore()
public void setTrustStore(String trustStore)
trustStore - the trustStore to setpublic String getTrustStorePassword()
public void setTrustStorePassword(String trustStorePassword)
trustStorePassword - the trustStorePassword to setpublic String getUserExtensions()
public void setUserExtensions(String userExtensions)
userExtensions - the userExtensions to set
|
Arquillian Drone Extension Support for Selenium Server 1.0.0.CR3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||