@ConditionalOnProperty(name="browser", havingValue="firefox") @EnableConfigurationProperties(value=FirefoxProperties.class) @ComponentScan(basePackageClasses=TapirFirefoxConfiguration.class, nameGenerator=FqnAnnotationBeanNameGenerator.class, excludeFilters=) public class TapirFirefoxConfiguration extends Object
@Component
.Modifier and Type | Field and Description |
---|---|
static int |
AUTO_CONFIGURE_ORDER |
Constructor and Description |
---|
TapirFirefoxConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.remote.RemoteWebDriver |
firefoxDriver(FirefoxProperties firefoxProperties,
String browserLocale,
Optional<List<FirefoxExtension>> firefoxExtensions,
WebDriverManagerService webDriverManagerService) |
WebDriverExceptionOccurrenceBehaviour |
webDriverExceptionOccurrenceBehaviour(String browser) |
public static final int AUTO_CONFIGURE_ORDER
@Bean(name="internalWebDriver", destroyMethod="quit") @Scope(scopeName="thread", proxyMode=TARGET_CLASS) public org.openqa.selenium.remote.RemoteWebDriver firefoxDriver(FirefoxProperties firefoxProperties, @Qualifier(value="browserLocale") String browserLocale, Optional<List<FirefoxExtension>> firefoxExtensions, WebDriverManagerService webDriverManagerService)
firefoxProperties
- firefoxPropertiesbrowserLocale
- browserLocalefirefoxExtensions
- firefoxExtensionswebDriverManagerService
- webDriverManagerService@Bean public WebDriverExceptionOccurrenceBehaviour webDriverExceptionOccurrenceBehaviour(@Value(value="${browser}") String browser)
browser
- browserCopyright © 2018–2021 b+m Informatik AG. All rights reserved.