FirefoxFactory

org.scalatestplus.play.FirefoxFactory
See theFirefoxFactory companion trait

Companion object to trait FirefoxFactory that mixes in the trait.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def createWebDriver(firefoxProfile: FirefoxProfile): WebDriver

Creates a new instance of a Selenium FirefoxDriver, using the specified FirefoxProfile, 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 FirefoxDriver, using the specified FirefoxProfile, 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.

Attributes

Returns

a new instance of a Selenium FirefoxDriver, using the specified FirefoxProfile, or a BrowserFactory.UnavailableDriver if a Firefox driver is not available on the host platform.

def createWebDriver(firefoxProfile: FirefoxProfile, options: FirefoxOptions): WebDriver

Creates a new instance of a Selenium FirefoxDriver, using the specified FirefoxProfile and FirefoxOptions, 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 FirefoxDriver, using the specified FirefoxProfile and FirefoxOptions, 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.

Attributes

Returns

a new instance of a Selenium FirefoxDriver, using the specified FirefoxProfile and FirefoxOptions, or a BrowserFactory.UnavailableDriver if a Firefox driver is not available on the host platform.

Inherited methods

def createWebDriver(): WebDriver

Creates a new instance of a Selenium FirefoxDriver (using the FirefoxProfile provided by the firefoxProfile field), 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 FirefoxDriver (using the FirefoxProfile provided by the firefoxProfile field), 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.

Attributes

Returns

an new instance of a Selenium FirefoxDriver or a BrowserFactory.UnavailableDriver if a Firefox driver is not available on the host platform.

Inherited from:
FirefoxFactory

Inherited fields

lazy val firefoxOptions: FirefoxOptions

FirefoxOptions that is used to create new instance of FirefoxDriver. Override to provide different options.

FirefoxOptions that is used to create new instance of FirefoxDriver. Override to provide different options.

Attributes

Inherited from:
FirefoxFactory
lazy val firefoxProfile: FirefoxProfile

FirefoxProfile that is used to create new instance of FirefoxDriver. Override to provide a different profile.

FirefoxProfile that is used to create new instance of FirefoxDriver. Override to provide a different profile.

Attributes

Inherited from:
FirefoxFactory