Trait that uses a shared test approach to enable
you to run the same tests on multiple browsers in a ScalaTest Suite
, where each kind of browser is started and stopped
just once for the whole Suite
.
Trait that uses a shared test approach to enable
you to run the same tests on multiple browsers in a ScalaTest Suite
, where a new browser is started before each test
that needs a browser, and stopped after.
Trait that defines an abstract createWebDriver
method for creating a new Selenium WebDriver
and an abstract unableToCreateDriverErrorMessage
method that provides an appropriate error message if the driver
is not available on the current platform.
Abstract class that encapsulates a browser name, tag name, and Selenium WebDriver
factory method.
Factory whose createWebDriver
method will either return a new Selenium ChromeDriver
, or
UnavailableDriver, if Chrome is not available on the host platform.
Trait that provides a configured FakeApplication
to the suite into which it is mixed.
Trait that provides a configured FakeApplication
, server port number, and Selenium WebDriver
to the suite
into which it is mixed.
Trait that provides a configured FakeApplication
and server port number to the suite into which it is mixed.
Factory whose createWebDriver
method will either return a new Selenium FirefoxDriver
(created
using the profile specified by firefoxProfile
), or
UnavailableDriver, if Firefox is not available on the host platform.
Firefox browser info, which encapsulates the browser name, "[Firefox]"
; tag name, org.scalatest.tags.FirefoxBrowser
; and a factory method that produces a Selenium FirefoxDriver
.
Factory whose createWebDriver
method will either return a new Selenium HtmlUnitDriver
, or
UnavailableDriver, if HtmlUnit is not available on the host platform.
HtmlUnit
browser info, which encapsulates the browser name, "[HtmlUnit]"
; tag name, org.scalatest.tags.HtmlUnitBrowser
; and a factory method that produces a Selenium HtmlUnitDriver
.
Factory whose createWebDriver
method will either return a new Selenium InternetExplorerDriver
, or
UnavailableDriver, if Internet Explorer is not available on the host platform.
Trait that helps you provide different fixtures to different tests: a FakeApplication
, a TestServer
, or one
of the Selenium WebDrivers
s.
Convenience "super Suite" class for "mixed fixture" Play tests.
Trait that provides a new FakeApplication
instance per ScalaTest Suite
.
Trait that provides a new FakeApplication
instance for each test.
Trait that provides a new Selenium WebBrowser
instance per ScalaTest Suite
.
Trait that provides a new Selenium WebDriver
instance for each test executed in a ScalaTest Suite
.
Trait that provides a new FakeApplication
and running TestServer
instance per ScalaTest Suite
.
Trait that provides a new FakeApplication
and running TestServer
instance for each test executed in a ScalaTest Suite
.
Convenience "super Suite" base class for Play tests.
Wraps a port number of a provided TestServer
so that it can be made available as an implicit without making an Int
implicit.
Factory whose createWebDriver
method will either return a new Selenium SafariDriver
, or
UnavailableDriver, if Safari is not available on the host platform.
Trait that defines abstract methods that providing a port number and implicit FakeApplication
and a concrete
method that provides an implicit PortNumber that wraps the port number.
Trait providing convenience methods to create WS requests in tests.
Companion object to trait BrowserFactory
that holds a UnavailableDriver
object that implements
the Selenium WebDriver
interface by throwing UnuspportedOperationException
.
Companion object to trait ChromeFactory
that mixes in the trait.
Chrome browser info, which encapsulates the browser name, "[Chrome]"
; tag name, org.scalatest.tags.ChromeBrowser
; and a factory method that produces a Selenium ChromeDriver
.
Companion object to trait FirefoxFactory
that mixes in the trait.
Companion object to trait HtmlUnitFactory
that mixes in the trait.
Companion object to trait InternetExplorerFactory
that mixes in the trait.
Internet Explorer browser info, which encapsulates the browser name, "[InternetExplorer]"
; tag name, org.scalatest.tags.InternetExplorerBrowser
; and a factory method that produces a Selenium InternetExplorerDriver
.
Companion object to trait SafariFactory
that mixes in the trait.
Safari browser info, which encapsulates the browser name, "[Safari]"
; tag name, org.scalatest.tags.SafariBrowser
; and a factory method that produces a Selenium SafariDriver
.