@ConditionalOnProperty(name="browser", havingValue="htmlunit") @EnableConfigurationProperties(value=HtmlUnitProperties.class) @ComponentScan(basePackageClasses=TapirHtmlUnitConfiguration.class, nameGenerator=FqnAnnotationBeanNameGenerator.class, excludeFilters=) public class TapirHtmlUnitConfiguration extends Object
@Component
.Modifier and Type | Field and Description |
---|---|
static int |
AUTO_CONFIGURE_ORDER |
Constructor and Description |
---|
TapirHtmlUnitConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.htmlunit.HtmlUnitDriver |
htmlUnitDriver(HtmlUnitProperties htmlUnitProperties,
Optional<HttpProxy> httpProxyOptional,
String browserLocale) |
InputWebElementHandler |
htmlUnitInputWebElementHandler() |
JsExecutor |
jsExecutor() |
Class<? extends org.openqa.selenium.WebElement> |
webElementType() |
public static final int AUTO_CONFIGURE_ORDER
@Bean(name="internalWebDriver", destroyMethod="quit") @Scope(scopeName="thread", proxyMode=TARGET_CLASS) public org.openqa.selenium.htmlunit.HtmlUnitDriver htmlUnitDriver(HtmlUnitProperties htmlUnitProperties, Optional<HttpProxy> httpProxyOptional, @Qualifier(value="browserLocale") String browserLocale)
htmlUnitProperties
- htmlUnitPropertieshttpProxyOptional
- httpProxyOptionalbrowserLocale
- browserLocale@Bean(value="tapirJsExecutor") public JsExecutor jsExecutor()
@Bean(value="inputWebElementHandler") @ConditionalOnClass(value=InputWebElementHandler.class) public InputWebElementHandler htmlUnitInputWebElementHandler()
@Bean public Class<? extends org.openqa.selenium.WebElement> webElementType()
Copyright © 2018–2020 b+m Informatik AG. All rights reserved.