public class Configuration extends WebAppJettyConfiguration
WebPageTestContext. For example, by default it assumes that your web
content folder is src/main/webapp. If it is not the case, you must set the
WebAppJettyConfiguration.docBase property. Also, it uses Firefox by default. If you'd like to
use another browser such as Chrome or IE, you need to set selenium
yourself.| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebDriver |
getSelenium()
Get the
selenium field if it is non-null. |
String |
getWicketFilterPrefix() |
void |
setSelenium(org.openqa.selenium.WebDriver selenium) |
void |
setWicketFilterPrefix(String wicketFilterPrefix) |
getDocBase, getJettyServerPort, getOverrideWebXml, setDocBase, setJettyServerPort, setOverrideWebXmlpublic String getWicketFilterPrefix()
public void setWicketFilterPrefix(String wicketFilterPrefix)
public org.openqa.selenium.WebDriver getSelenium()
selenium field if it is non-null. Otherwise, try to use
the value of the system property PROPERTY_KEY_WEBDRIVER_CLASS as
the class of the driver to create a new instance and store it into the
field. If there is no such system property, use the Firefox driver.WebDriver) objectpublic void setSelenium(org.openqa.selenium.WebDriver selenium)
Copyright © 2009–2018. All rights reserved.