Package core.uiCore

Class WebDriverSetup


  • public class WebDriverSetup
    extends Object
    • Field Detail

      • SERVER_URL

        public static String SERVER_URL
      • SERVER_PORT

        public static String SERVER_PORT
      • LATEST_BROWSER_VERSION

        public static String LATEST_BROWSER_VERSION
    • Constructor Detail

      • WebDriverSetup

        public WebDriverSetup()
    • Method Detail

      • getWebDriverByType

        public org.openqa.selenium.WebDriver getWebDriverByType​(DriverObject driverObject)
                                                         throws IOException
        get webdriver by type set in properties file
        Returns:
        Throws:
        IOException
      • getProxyState

        public static boolean getProxyState()
      • getServerUrl

        public String getServerUrl()
      • getServerPort

        public String getServerPort()
      • printBrowserVersion

        public void printBrowserVersion​(org.openqa.selenium.WebDriver driver)