Class TapirHtmlUnitConfiguration

    • Constructor Detail

      • TapirHtmlUnitConfiguration

        public TapirHtmlUnitConfiguration()
    • Method Detail

      • htmlUnitDriver

        @Bean(name="internalWebDriver",
              destroyMethod="quit")
        @Scope(scopeName="thread",
               proxyMode=TARGET_CLASS)
        public org.openqa.selenium.htmlunit.HtmlUnitDriver htmlUnitDriver​(HtmlUnitProperties htmlUnitProperties,
                                                                          java.util.Optional<HttpProxy> httpProxyOptional,
                                                                          @Qualifier("browserLocale")
                                                                          java.lang.String browserLocale)
        Parameters:
        htmlUnitProperties - htmlUnitProperties
        httpProxyOptional - httpProxyOptional
        browserLocale - browserLocale
        Returns:
        result
        Since:
        2.0.0
      • jsExecutor

        @Bean("tapirJsExecutor")
        public JsExecutor jsExecutor()
        Returns:
        result
        Since:
        2.0.0
      • webElementType

        @Bean
        public java.lang.Class<? extends org.openqa.selenium.WebElement> webElementType()
        Returns:
        result
        Since:
        2.0.0