Class 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) 2019 Daniel Keiss, Deutsche Telekom AG This file is distributed under the conditions of the Apache License, Version 2.0. For details see the file license on the toplevel.

    • Constructor Detail

      • UsefulWebDriverConfiguration

        public UsefulWebDriverConfiguration()
    • Method Detail

      • firefoxOptions

        public org.openqa.selenium.firefox.FirefoxOptions firefoxOptions​(org.openqa.selenium.remote.DesiredCapabilities capabilities)
        Specified by:
        firefoxOptions in interface WebDriverConfiguration
      • chromeOptions

        public org.openqa.selenium.chrome.ChromeOptions chromeOptions​(org.openqa.selenium.remote.DesiredCapabilities capabilities)
        Specified by:
        chromeOptions in interface WebDriverConfiguration