类 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
- 所有已实现的接口:
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}
.- 从以下版本开始:
- 1.4.0
- 作者:
- Phillip Webb
-
嵌套类概要
从类继承的嵌套类/接口 org.openqa.selenium.htmlunit.HtmlUnitDriver
org.openqa.selenium.htmlunit.HtmlUnitDriver.ElementsMap, org.openqa.selenium.htmlunit.HtmlUnitDriver.HtmlUnitWebDriverOptions, org.openqa.selenium.htmlunit.HtmlUnitDriver.JavaScriptResultsCollection
从接口继承的嵌套类/接口 org.openqa.selenium.WebDriver
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
-
字段概要
从类继承的字段 org.openqa.selenium.htmlunit.HtmlUnitDriver
BROWSER_LANGUAGE_CAPABILITY, DOWNLOAD_IMAGES_CAPABILITY, JAVASCRIPT_ENABLED
-
构造器概要
构造器构造器说明LocalHostWebConnectionHtmlUnitDriver
(Environment environment) LocalHostWebConnectionHtmlUnitDriver
(Environment environment, boolean enableJavascript) LocalHostWebConnectionHtmlUnitDriver
(Environment environment, org.htmlunit.BrowserVersion browserVersion) LocalHostWebConnectionHtmlUnitDriver
(Environment environment, org.openqa.selenium.Capabilities capabilities) -
方法概要
从类继承的方法 org.springframework.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver
getWebClient, getWebConnection, modifyWebClient, modifyWebClientInternal, setWebConnection
从类继承的方法 org.openqa.selenium.htmlunit.HtmlUnitDriver
assertElementNotStale, click, close, doubleClick, executeAsyncScript, executeScript, findElement, findElement, findElements, findElements, get, getAlert, getBrowserVersion, getCapabilities, getCurrentUrl, getCurrentWindow, getElementsMap, getKeyboard, getMouse, getPageSource, getTitle, getWindowHandle, getWindowHandles, implicitlyWaitFor, isAcceptInsecureCerts, isDownloadImages, isJavascriptEnabled, manage, mouseDown, mouseMove, mouseUp, navigate, newWebClient, openNewWindow, perform, quit, resetInputState, runAsync, sendKeys, setAcceptInsecureCerts, setAutoProxy, setCurrentWindow, setDownloadImages, setExecutor, setHTTPProxy, setJavascriptEnabled, setProxy, setProxySettings, setSocksProxy, setSocksProxy, submit, switchTo, switchToDefaultContentOfWindow, toWebElement, toWebElement
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.openqa.selenium.JavascriptExecutor
executeScript, getPinnedScripts, pin, unpin
-
构造器详细资料
-
LocalHostWebConnectionHtmlUnitDriver
-
LocalHostWebConnectionHtmlUnitDriver
-
LocalHostWebConnectionHtmlUnitDriver
public LocalHostWebConnectionHtmlUnitDriver(Environment environment, org.htmlunit.BrowserVersion browserVersion) -
LocalHostWebConnectionHtmlUnitDriver
public LocalHostWebConnectionHtmlUnitDriver(Environment environment, org.openqa.selenium.Capabilities capabilities)
-
-
方法详细资料
-
get
- 指定者:
get
在接口中org.openqa.selenium.WebDriver
- 覆盖:
get
在类中org.openqa.selenium.htmlunit.HtmlUnitDriver
-