object ChromeFactory extends ChromeFactory

Companion object to trait ChromeFactory that mixes in the trait.

Source
ChromeFactory.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChromeFactory
  2. ChromeFactory
  3. BrowserFactory
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def chromeDriverService: ChromeDriverService

    Default ChromeDriverService used to create a ChromeDriver instance.

    Default ChromeDriverService used to create a ChromeDriver instance. Override to provide different service.

    Definition Classes
    ChromeFactory
  2. lazy val chromeOptions: ChromeOptions

    Default ChromeOptions used to create a ChromeDriver instance.

    Default ChromeOptions used to create a ChromeDriver instance. Override to provide different options.

    Definition Classes
    ChromeFactory
  3. def createDriver(options: ChromeOptions): WebDriver

    Creates a new instance of a Selenium ChromeDriver, using the specified ChromeOptions, or returns a BrowserFactory.UnavailableDriver that includes the exception that indicated the driver was not supported on the host platform and an appropriate error message.

    Creates a new instance of a Selenium ChromeDriver, using the specified ChromeOptions, or returns a BrowserFactory.UnavailableDriver that includes the exception that indicated the driver was not supported on the host platform and an appropriate error message.

    returns

    a new instance of a Selenium ChromeDriver, using the specified ChromeOptions, or a BrowserFactory.UnavailableDriver if a Chrome driver is not available on the host platform.

  4. def createWebDriver(service: ChromeDriverService, options: ChromeOptions): WebDriver

    Creates a new instance of a Selenium ChromeDriver, using the specified ChromeDriverService and ChromeOptions, or returns a BrowserFactory.UnavailableDriver that includes the exception that indicated the driver was not supported on the host platform and an appropriate error message.

    Creates a new instance of a Selenium ChromeDriver, using the specified ChromeDriverService and ChromeOptions, or returns a BrowserFactory.UnavailableDriver that includes the exception that indicated the driver was not supported on the host platform and an appropriate error message.

    returns

    a new instance of a Selenium ChromeDriver, using the specified ChromeDriverService and ChromeOptions, or a BrowserFactory.UnavailableDriver if a Chrome driver is not available on the host platform.

  5. def createWebDriver(): WebDriver

    Creates a new instance of a Selenium ChromeDriver, or returns a BrowserFactory.UnavailableDriver that includes the exception that indicated the driver was not supported on the host platform and an appropriate error message.

    Creates a new instance of a Selenium ChromeDriver, or returns a BrowserFactory.UnavailableDriver that includes the exception that indicated the driver was not supported on the host platform and an appropriate error message.

    returns

    an new instance of a Selenium ChromeDriver, or a BrowserFactory.UnavailableDriver if it is not available on the host platform.

    Definition Classes
    ChromeFactoryBrowserFactory
    See also

    chromeOptions and chromeDriverService.