public class LocalHostWebConnectionHtmlUnitDriver extends WebConnectionHtmlUnitDriver
LocalHostWebConnectionHtmlUnitDriver
will automatically prefix relative URLs
with localhost:${local.server.port}
.org.openqa.selenium.htmlunit.HtmlUnitDriver.ElementsMap, 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(Environment environment) |
LocalHostWebConnectionHtmlUnitDriver(Environment environment,
boolean enableJavascript) |
LocalHostWebConnectionHtmlUnitDriver(Environment environment,
com.gargoylesoftware.htmlunit.BrowserVersion browserVersion) |
LocalHostWebConnectionHtmlUnitDriver(Environment environment,
org.openqa.selenium.Capabilities capabilities) |
Modifier and Type | Method and Description |
---|---|
void |
get(String url) |
getWebClient, getWebConnection, modifyWebClient, modifyWebClientInternal, setWebConnection
assertElementNotStale, click, close, doubleClick, executeAsyncScript, executeScript, findElement, findElements, get, getAlert, getBrowserVersion, getCapabilities, getCurrentUrl, getCurrentWindow, getElementsMap, getKeyboard, getMouse, getPageSource, getTitle, getWindowHandle, getWindowHandles, getWindowManager, implicitlyWaitFor, isAcceptSslCertificates, isDownloadImages, isJavascriptEnabled, manage, mouseDown, mouseMove, mouseUp, navigate, newWebClient, quit, runAsync, sendKeys, setAcceptSslCertificates, setAutoProxy, setCurrentWindow, setDownloadImages, setExecutor, setHTTPProxy, setJavascriptEnabled, setProxy, setProxySettings, setSocksProxy, setSocksProxy, submit, switchTo, toWebElement
public LocalHostWebConnectionHtmlUnitDriver(Environment environment)
public LocalHostWebConnectionHtmlUnitDriver(Environment environment, boolean enableJavascript)
public LocalHostWebConnectionHtmlUnitDriver(Environment environment, com.gargoylesoftware.htmlunit.BrowserVersion browserVersion)
public LocalHostWebConnectionHtmlUnitDriver(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