object ChromeFactory extends ChromeFactory
Companion object to trait ChromeFactory
that mixes in the trait.
- Source
- ChromeFactory.scala
- Alphabetic
- By Inheritance
- ChromeFactory
- ChromeFactory
- BrowserFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- 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
- 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
- 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.
- 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.
- 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
- ChromeFactory → BrowserFactory
- See also