Package core.uiCore

Class WebDriverSetup

java.lang.Object
core.uiCore.WebDriverSetup

public class WebDriverSetup extends Object
  • Field Details

    • SERVER_URL

      public static String SERVER_URL
    • SERVER_PORT

      public static String SERVER_PORT
    • LATEST_BROWSER_VERSION

      public static String LATEST_BROWSER_VERSION
  • Constructor Details

    • WebDriverSetup

      public WebDriverSetup()
  • Method Details

    • getWebDriverByType

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

      public org.openqa.selenium.WebDriver getBrowserDriverByType(DriverObject driverObject) throws IOException
      Throws:
      IOException
    • setManualDriverPath

      public static void setManualDriverPath(browserType.BrowserType browserType)
    • getProxyState

      public static boolean getProxyState()
    • getServerUrl

      public String getServerUrl()
    • getServerPort

      public String getServerPort()
    • printBrowserVersion

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