@Configuration @ConditionalOnClass(value=org.openqa.selenium.htmlunit.HtmlUnitDriver.class) @AutoConfigureAfter(value=MockMvcAutoConfiguration.class) @ConditionalOnProperty(prefix="spring.test.mockmvc.webdriver", name="enabled", matchIfMissing=true) public class MockMvcWebDriverAutoConfiguration extends Object
WebDriver
MockMVC integration.Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.htmlunit.HtmlUnitDriver |
htmlUnitDriver(org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder builder) |
org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder |
mockMvcHtmlUnitDriverBuilder(org.springframework.test.web.servlet.MockMvc mockMvc) |
@Bean @ConditionalOnMissingBean(value={org.openqa.selenium.WebDriver.class,org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder.class}) @ConditionalOnBean(value=org.springframework.test.web.servlet.MockMvc.class) public org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder mockMvcHtmlUnitDriverBuilder(org.springframework.test.web.servlet.MockMvc mockMvc)
@Bean @ConditionalOnMissingBean(value=org.openqa.selenium.WebDriver.class) @ConditionalOnBean(value=org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder.class) public org.openqa.selenium.htmlunit.HtmlUnitDriver htmlUnitDriver(org.springframework.test.web.servlet.htmlunit.webdriver.MockMvcHtmlUnitDriverBuilder builder)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.