Package de.bmiag.tapir.selenium.chrome
Class TapirChromeConfiguration
- java.lang.Object
-
- de.bmiag.tapir.selenium.chrome.TapirChromeConfiguration
-
@ConditionalOnProperty(name="browser", havingValue="chrome") @EnableConfigurationProperties(ChromeProperties.class) @ComponentScan(basePackageClasses=TapirChromeConfiguration.class, nameGenerator=FqnAnnotationBeanNameGenerator.class, excludeFilters=) public class TapirChromeConfiguration extends java.lang.Object
Provides the configuration for tapir's Selenium Chrome module. In this configuration class only beans are registered which are not annotated by@Component
.- Since:
- 2.0.0
- Author:
- Nils Christian Ehmke <[email protected]>, Oliver Libutzki <[email protected]>
-
-
Field Summary
Fields Modifier and Type Field Description static int
AUTO_CONFIGURE_ORDER
-
Constructor Summary
Constructors Constructor Description TapirChromeConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.remote.RemoteWebDriver
chromeDriver(ChromeProperties chromeProperties, java.lang.String browserLocale, WebDriverManagerService webDriverManagerService)
-
-
-
Field Detail
-
AUTO_CONFIGURE_ORDER
public static final int AUTO_CONFIGURE_ORDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
chromeDriver
@Bean(name="internalWebDriver", destroyMethod="quit") @Scope(scopeName="thread", proxyMode=TARGET_CLASS) public org.openqa.selenium.remote.RemoteWebDriver chromeDriver(ChromeProperties chromeProperties, @Qualifier("browserLocale") java.lang.String browserLocale, WebDriverManagerService webDriverManagerService)
- Parameters:
chromeProperties
- chromePropertiesbrowserLocale
- browserLocalewebDriverManagerService
- webDriverManagerService- Returns:
- result
- Since:
- 2.0.0
-
-