TestBrowser

play.api.test.TestBrowser
See theTestBrowser companion class
object TestBrowser

Helper utilities to build TestBrowsers

Attributes

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

Members list

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def default(baseUrl: Option[String]): TestBrowser

Creates an in-memory WebBrowser (using HtmlUnit)

Creates an in-memory WebBrowser (using HtmlUnit)

Value parameters

baseUrl

The default base URL that will be used for relative URLs

Attributes

def firefox(baseUrl: Option[String]): TestBrowser

Creates a firefox WebBrowser.

Creates a firefox WebBrowser.

Value parameters

baseUrl

The default base URL that will be used for relative URLs

Attributes

def of[WEBDRIVER <: WebDriver](webDriver: Class[WEBDRIVER], baseUrl: Option[String]): TestBrowser

Creates a WebBrowser of the specified class name.

Creates a WebBrowser of the specified class name.

Value parameters

baseUrl

The default base URL that will be used for relative URLs

Attributes