c

play.api.test

WithBrowser

abstract class WithBrowser[WEBDRIVER <: WebDriver] extends AroundHelper with Scope

Used to run specs within the context of a running server, and using a web browser

Source
Specs.scala
Linear Supertypes
AroundHelper, Around, DelayedInit, Around, Context, Scope, Scope, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WithBrowser
  2. AroundHelper
  3. Around
  4. DelayedInit
  5. Around
  6. Context
  7. Scope
  8. Scope
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WithBrowser(webDriver: Class[WEBDRIVER], app: Application, port: Int)
  2. new WithBrowser(webDriver: WebDriver = WebDriverFactory(Helpers.HTMLUNIT), app: Application = GuiceApplicationBuilder().build(), port: Int = Helpers.testServerPort)

    webDriver

    The driver for the web browser to use

    app

    The fake application

    port

    The port to run the server on

Value Members

  1. def andThen(a: Around): Around
    Definition Classes
    Around
  2. val app: Application
  3. def apply[T](a: => T)(implicit arg0: AsResult[T]): Result
    Definition Classes
    Around → Context
  4. def around[T](t: => T)(implicit arg0: AsResult[T]): Result
    Definition Classes
    AroundHelper → Around
  5. lazy val browser: TestBrowser
  6. def compose(a: Around): Around
    Definition Classes
    Around
  7. def delayedInit(x: => Unit): Unit
    Definition Classes
    Around → DelayedInit
  8. implicit def implicitApp: Application
  9. implicit def implicitPort: Port
  10. var port: Int
  11. def running(): Unit
    Definition Classes
    AroundHelper
  12. val webDriver: WebDriver
  13. def wrap[T](t: => T)(implicit arg0: AsResult[T]): Result
    Definition Classes
    AroundHelper