Class LocalHostWebConnectionHtmlUnitDriver
java.lang.Object
org.openqa.selenium.htmlunit.HtmlUnitDriver
org.springframework.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver
org.springframework.boot.test.web.htmlunit.webdriver.LocalHostWebConnectionHtmlUnitDriver
- All Implemented Interfaces:
- org.openqa.selenium.HasCapabilities,- org.openqa.selenium.interactions.Interactive,- org.openqa.selenium.JavascriptExecutor,- org.openqa.selenium.SearchContext,- org.openqa.selenium.WebDriver
LocalHostWebConnectionHtmlUnitDriver will automatically prefix relative URLs
 with localhost:${local.server.port}.- Since:
- 1.4.0
- Author:
- Phillip Webb
- 
Nested Class SummaryNested classes/interfaces inherited from class org.openqa.selenium.htmlunit.HtmlUnitDriverorg.openqa.selenium.htmlunit.HtmlUnitDriver.ElementsMap, org.openqa.selenium.htmlunit.HtmlUnitDriver.JavaScriptResultsCollectionNested classes/interfaces inherited from interface org.openqa.selenium.WebDriverorg.openqa.selenium.WebDriver.Navigation, org.openqa.selenium.WebDriver.Options, org.openqa.selenium.WebDriver.TargetLocator, org.openqa.selenium.WebDriver.Timeouts, org.openqa.selenium.WebDriver.Window
- 
Field SummaryFields inherited from class org.openqa.selenium.htmlunit.HtmlUnitDriverBROWSER_LANGUAGE_CAPABILITY, DOWNLOAD_IMAGES_CAPABILITY, JAVASCRIPT_ENABLED
- 
Constructor SummaryConstructorsConstructorDescriptionLocalHostWebConnectionHtmlUnitDriver(Environment environment) LocalHostWebConnectionHtmlUnitDriver(Environment environment, boolean enableJavascript) LocalHostWebConnectionHtmlUnitDriver(Environment environment, com.gargoylesoftware.htmlunit.BrowserVersion browserVersion) LocalHostWebConnectionHtmlUnitDriver(Environment environment, org.openqa.selenium.Capabilities capabilities) 
- 
Method SummaryMethods inherited from class org.springframework.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDrivergetWebClient, getWebConnection, modifyWebClient, modifyWebClientInternal, setWebConnectionMethods inherited from class org.openqa.selenium.htmlunit.HtmlUnitDriverassertElementNotStale, click, close, doubleClick, executeAsyncScript, executeScript, findElement, findElement, findElements, findElements, get, getAlert, getBrowserVersion, getCapabilities, getCurrentUrl, getCurrentWindow, getElementsMap, getKeyboard, getMouse, getPageSource, getTitle, getWindowHandle, getWindowHandles, implicitlyWaitFor, isAcceptSslCertificates, isDownloadImages, isJavascriptEnabled, manage, mouseDown, mouseMove, mouseUp, navigate, newWebClient, openNewWindow, perform, quit, resetInputState, runAsync, sendKeys, setAcceptSslCertificates, setAutoProxy, setCurrentWindow, setDownloadImages, setExecutor, setHTTPProxy, setJavascriptEnabled, setProxy, setProxySettings, setSocksProxy, setSocksProxy, submit, switchTo, switchToDefaultContentOfWindow, toWebElementMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openqa.selenium.JavascriptExecutorexecuteScript, getPinnedScripts, pin, unpin
- 
Constructor Details- 
LocalHostWebConnectionHtmlUnitDriver
- 
LocalHostWebConnectionHtmlUnitDriver
- 
LocalHostWebConnectionHtmlUnitDriverpublic LocalHostWebConnectionHtmlUnitDriver(Environment environment, com.gargoylesoftware.htmlunit.BrowserVersion browserVersion) 
- 
LocalHostWebConnectionHtmlUnitDriverpublic LocalHostWebConnectionHtmlUnitDriver(Environment environment, org.openqa.selenium.Capabilities capabilities) 
 
- 
- 
Method Details- 
get- Specified by:
- getin interface- org.openqa.selenium.WebDriver
- Overrides:
- getin class- org.openqa.selenium.htmlunit.HtmlUnitDriver
 
 
-