Class ConfiguredChromeDriver

java.lang.Object
uk.co.evoco.webdriver.configuration.driver.ConfiguredChromeDriver
All Implemented Interfaces:
ConfiguredDriver

public class ConfiguredChromeDriver
extends java.lang.Object
implements ConfiguredDriver
  • Constructor Details

  • Method Details

    • getRemoteDriver

      public org.openqa.selenium.WebDriver getRemoteDriver() throws java.io.IOException
      Specified by:
      getRemoteDriver in interface ConfiguredDriver
      Returns:
      WebDriver representing RemoteWebDriver grid
      Throws:
      java.io.IOException
    • getLocalDriver

      public org.openqa.selenium.WebDriver getLocalDriver() throws java.io.IOException
      Specified by:
      getLocalDriver in interface ConfiguredDriver
      Returns:
      WebDriver representing RemoteWebDriver grid
      Throws:
      java.io.IOException - if log directory doesn't exist
    • getOptions

      public org.openqa.selenium.chrome.ChromeOptions getOptions() throws java.io.IOException
      Specified by:
      getOptions in interface ConfiguredDriver
      Returns:
      configured options object for target browser driver
      Throws:
      java.io.IOException