Class UsefulWebDriverConfiguration
- java.lang.Object
-
- de.telekom.test.bddwebapp.frontend.lifecycle.UsefulWebDriverConfiguration
-
- All Implemented Interfaces:
WebDriverConfiguration
@Component public class UsefulWebDriverConfiguration extends Object implements WebDriverConfiguration
A useful configuration with some additions to selenium default for all supported and tested browsers.- Author:
- Daniel Keiss <daniel.keiss@telekom.de>
Copyright (c) 2020 Daniel Keiss, Deutsche Telekom IT GmbH This file is distributed under the conditions of the Apache License, Version 2.0. For details see the file license on the toplevel.
-
-
Constructor Summary
Constructors Constructor Description UsefulWebDriverConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterLoad(org.openqa.selenium.WebDriver driver)org.openqa.selenium.chrome.ChromeOptionschromeOptions(org.openqa.selenium.remote.DesiredCapabilities capabilities)org.openqa.selenium.firefox.FirefoxOptionsfirefoxOptions(org.openqa.selenium.remote.DesiredCapabilities capabilities)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.telekom.test.bddwebapp.frontend.lifecycle.WebDriverConfiguration
edgeOptions, extraCapabilities, getBrowser, getBrowserPath, getGridURL, htmlUnitOptions, internetExplorerOptions, isHeadless, loadChrome, loadEdge, loadFirefox, loadHtmlUnit, loadInternetExplorer, loadOpera, loadRemoteWebdriver, loadSafari, loadWebdriver, operaOptions, remoteWebDriverOptions, safariOptions
-
-
-
-
Method Detail
-
firefoxOptions
public org.openqa.selenium.firefox.FirefoxOptions firefoxOptions(org.openqa.selenium.remote.DesiredCapabilities capabilities)
- Specified by:
firefoxOptionsin interfaceWebDriverConfiguration
-
chromeOptions
public org.openqa.selenium.chrome.ChromeOptions chromeOptions(org.openqa.selenium.remote.DesiredCapabilities capabilities)
- Specified by:
chromeOptionsin interfaceWebDriverConfiguration
-
afterLoad
public void afterLoad(org.openqa.selenium.WebDriver driver)
- Specified by:
afterLoadin interfaceWebDriverConfiguration
-
-