object HtmlUnitFactory extends HtmlUnitFactory
Companion object to trait HtmlUnitFactory
that mixes in the trait.
- Source
- HtmlUnitFactory.scala
- Alphabetic
- By Inheritance
- HtmlUnitFactory
- HtmlUnitFactory
- BrowserFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def createWebDriver(enableJavascript: Boolean): WebDriver
Creates a new instance of a Selenium
HtmlUnitDriver
, with Javascript enabled or disabled depending upon the passed flag, or returns aBrowserFactory.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
HtmlUnitDriver
, with Javascript enabled or disabled depending upon the passed flag, or returns aBrowserFactory.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
HtmlUnitDriver
, or aBrowserFactory.UnavailableDriver
if an HtmlUnit driver is not available on the host platform.
- def createWebDriver(): WebDriver
Creates a new instance of a Selenium
HtmlUnitDriver
, with Javascript enabled, 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
HtmlUnitDriver
, with Javascript enabled, 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
HtmlUnitDriver
, or aBrowserFactory.UnavailableDriver
if an HtmlUnit driver is not available on the host platform.
- Definition Classes
- HtmlUnitFactory → BrowserFactory