public class LocalHostWebConnectionHtmlUnitDriver
extends org.springframework.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver
LocalHostWebConnectionHtmlUnitDriver
will automatically prefix relative URLs
with localhost:${local.server.port}
.org.openqa.selenium.htmlunit.HtmlUnitDriver.HtmlUnitWindow, org.openqa.selenium.htmlunit.HtmlUnitDriver.JavaScriptResultsCollection
org.openqa.selenium.WebDriver.ImeHandler, org.openqa.selenium.WebDriver.Navigation, org.openqa.selenium.WebDriver.Options, org.openqa.selenium.WebDriver.TargetLocator, org.openqa.selenium.WebDriver.Timeouts, org.openqa.selenium.WebDriver.Window
Constructor and Description |
---|
LocalHostWebConnectionHtmlUnitDriver(org.springframework.core.env.Environment environment) |
LocalHostWebConnectionHtmlUnitDriver(org.springframework.core.env.Environment environment,
boolean enableJavascript) |
LocalHostWebConnectionHtmlUnitDriver(org.springframework.core.env.Environment environment,
com.gargoylesoftware.htmlunit.BrowserVersion browserVersion) |
LocalHostWebConnectionHtmlUnitDriver(org.springframework.core.env.Environment environment,
org.openqa.selenium.Capabilities capabilities) |
Modifier and Type | Method and Description |
---|---|
void |
get(String url) |
getWebClient, getWebConnection, modifyWebClient, modifyWebClientInternal, setWebConnection
assertElementNotStale, close, executeAsyncScript, executeScript, findElement, findElementByClassName, findElementByCssSelector, findElementById, findElementByLinkText, findElementByName, findElementByPartialLinkText, findElementByTagName, findElementByXPath, findElements, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByLinkText, findElementsByName, findElementsByPartialLinkText, findElementsByTagName, findElementsByXPath, get, getBrowserVersion, getCapabilities, getCurrentUrl, getCurrentWindow, getElementById, getKeyboard, getMouse, getPageSource, getTitle, getWindowHandle, getWindowHandles, implicitlyWaitFor, isAcceptSslCertificates, isDownloadImages, isJavascriptEnabled, lastPage, manage, navigate, newWebClient, pickWindow, quit, setAcceptSslCertificates, setAutoProxy, setDownloadImages, setHTTPProxy, setJavascriptEnabled, setProxy, setProxySettings, setSocksProxy, setSocksProxy, switchTo, toWebElement
public LocalHostWebConnectionHtmlUnitDriver(org.springframework.core.env.Environment environment)
public LocalHostWebConnectionHtmlUnitDriver(org.springframework.core.env.Environment environment, boolean enableJavascript)
public LocalHostWebConnectionHtmlUnitDriver(org.springframework.core.env.Environment environment, com.gargoylesoftware.htmlunit.BrowserVersion browserVersion)
public LocalHostWebConnectionHtmlUnitDriver(org.springframework.core.env.Environment environment, org.openqa.selenium.Capabilities capabilities)
public void get(String url)
get
in interface org.openqa.selenium.WebDriver
get
in class org.openqa.selenium.htmlunit.HtmlUnitDriver
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.