public class LocalHostWebConnectionHtmlUnitDriver extends 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(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, 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, getKeyboard, getMouse, getPageSource, getTitle, getWindowHandle, getWindowHandles, implicitlyWaitFor, isJavascriptEnabled, lastPage, manage, navigate, newHtmlUnitWebElement, newWebClient, pickWindow, quit, setAutoProxy, setHTTPProxy, setJavascriptEnabled, setProxy, setProxySettings, setSocksProxy, setSocksProxy, switchTo
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
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.