the FirefoxProfile
to use when creating new FirefoxDriver
s in the createWebDriver
factory method.
Creates a new instance of a Selenium FirefoxDriver
, or returns a BrowserFactory.UnavailableDriver that includes
the exception that indicates Firefox was not supported on the host platform and an appropriate
error message.
Creates a new instance of a Selenium FirefoxDriver
, or returns a BrowserFactory.UnavailableDriver that includes
the exception that indicates Firefox was not supported on the host platform and an appropriate
error message.
an new instance of a Selenium FirefoxDriver
, or a BrowserFactory.UnavailableDriver if Firefox
was not available on the host platform.
the FirefoxProfile
to use when creating new FirefoxDriver
s in the createWebDriver
factory method.
the browser name, surrounded by square brackets
the browser name, surrounded by square brackets
the browser tag name
the browser tag name
Firefox browser info, which encapsulates the browser name,
"[Firefox]"
; tag name,org.scalatest.tags.FirefoxBrowser
; and a factory method that produces a SeleniumFirefoxDriver
.This class's superclass,
BrowserInfo
, is used by AllBrowsersPerSuite and AllBrowsersPerTest: anIndexedSeq[BrowserInfo]
is returned from thebrowsers
field of these traits to specify the browsers to share between tests. When tests are registered,AllBrowsersPerSuite
andAllBrowsersPerTest
use the browser name to ensure the tests shared by multiple browsers have unique names (the name of each shared test is appended with a browser name). When the tests run, these traits use theBrowserInfo
's factory method to createWebDriver
s as needed. TheAllBrowsersPerSuite
andAllBrowsersPerTest
traits use the tag name to automatically tag any tests that use a particularWebDriver
with the appropriate tag so that tests can be dynamically filtered by the browser the use.the
FirefoxProfile
to use when creating newFirefoxDriver
s in thecreateWebDriver
factory method.