Creates a new instance of a valid Selenium WebDriver, or if a driver is unavailable on the host platform,
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 valid Selenium WebDriver, or if a driver is unavailable on the host platform,
returns a BrowserFactory.UnavailableDriver that includes
the exception that indicated the driver was not supported on the host platform and an appropriate
error message.
an new instance of a Selenium WebDriver, or a BrowserFactory.UnavailableDriver
if the desired WebDriver is not available on the host platform.
Trait that defines an abstract
createWebDrivermethod for creating a new SeleniumWebDriverand an abstractunableToCreateDriverErrorMessagemethod that provides an appropriate error message if the driver is not available on the current platform.Traits OneBrowserPerSuite and OneBrowserPerTest extend
BrowserFactoryand therefore require you to fill in thecreateWebDrivermethod, usually by mixing in one of theBrowserFactorysubtraits.