Class

play.api.test

WithBrowser

Related Doc: package test

Permalink

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

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

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

Instance Constructors

  1. new WithBrowser(webDriver: Class[WEBDRIVER], app: Application, port: Int)

    Permalink
  2. new WithBrowser(webDriver: WebDriver = WebDriverFactory(Helpers.HTMLUNIT), app: Application = GuiceApplicationBuilder().build(), port: Int = Helpers.testServerPort)

    Permalink

    webDriver

    The driver for the web browser to use

    app

    The fake application

    port

    The port to run the server on

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def andThen(a: Around): Around

    Permalink
    Definition Classes
    Around
  5. val app: Application

    Permalink

    The fake application

  6. def apply[T](a: ⇒ T)(implicit arg0: AsResult[T]): Result

    Permalink
    Definition Classes
    Around → Context
  7. def around[T](t: ⇒ T)(implicit arg0: AsResult[T]): Result

    Permalink
    Definition Classes
    WithBrowser → Around
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. lazy val browser: TestBrowser

    Permalink
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def compose(a: Around): Around

    Permalink
    Definition Classes
    Around
  12. def delayedInit(x: ⇒ Unit): Unit

    Permalink
    Definition Classes
    Around → DelayedInit
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. implicit def implicitApp: Application

    Permalink
  19. implicit def implicitPort: Port

    Permalink
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. val port: Int

    Permalink

    The port to run the server on

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. val webDriver: WebDriver

    Permalink

    The driver for the web browser to use

Inherited from Around

Inherited from DelayedInit

Inherited from Around

Inherited from Context

Inherited from Scope

Inherited from Scope

Inherited from AnyRef

Inherited from Any

Ungrouped