play.api.test

TestBrowser

case class TestBrowser(webDriver: WebDriver, baseUrl: Option[String]) extends FluentAdapter with Product with Serializable

A test browser (Using Selenium WebDriver) with the FluentLenium API (https://github.com/Fluentlenium/FluentLenium).

webDriver

The WebDriver instance to use.

Source
Selenium.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, FluentAdapter, Fluent, SearchActions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TestBrowser
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FluentAdapter
  7. Fluent
  8. SearchActions
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TestBrowser(webDriver: WebDriver, baseUrl: Option[String])

    webDriver

    The WebDriver instance to use.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def $(arg0: String, arg1: Integer, arg2: <repeated...>[Filter]): FluentWebElement

    Definition Classes
    Fluent
  5. def $(arg0: String, arg1: <repeated...>[Filter]): FluentList[FluentWebElement]

    Definition Classes
    Fluent
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def alert(): Alert

    Definition Classes
    Fluent
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def await(): FluentWait

    Definition Classes
    Fluent
  11. val baseUrl: Option[String]

  12. def clear(arg0: FluentWebElement): Fluent

    Definition Classes
    Fluent
  13. def clear(arg0: FluentList[FluentWebElement]): Fluent

    Definition Classes
    Fluent
  14. def clear(arg0: String, arg1: <repeated...>[Filter]): Fluent

    Definition Classes
    Fluent
  15. def click(arg0: FluentDefaultActions): Fluent

    Definition Classes
    Fluent
  16. def click(arg0: String, arg1: <repeated...>[Filter]): Fluent

    Definition Classes
    Fluent
  17. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def createPage[T <: FluentPage](arg0: Class[T]): T

    Definition Classes
    FluentAdapter → Fluent
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def executeScript(arg0: String): Fluent

    Definition Classes
    Fluent
  21. def fill(arg0: FluentDefaultActions[_], arg1: <repeated...>[Filter]): FillConstructor

    Definition Classes
    Fluent
  22. def fill(arg0: String, arg1: <repeated...>[Filter]): FillConstructor

    Definition Classes
    Fluent
  23. def fillSelect(arg0: String, arg1: <repeated...>[Filter]): FillSelectConstructor

    Definition Classes
    Fluent
  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def find(arg0: String, arg1: Integer, arg2: <repeated...>[Filter]): FluentWebElement

    Definition Classes
    Fluent → SearchActions
  26. def find(arg0: String, arg1: <repeated...>[Filter]): FluentList[FluentWebElement]

    Definition Classes
    Fluent → SearchActions
  27. def findFirst(arg0: String, arg1: <repeated...>[Filter]): FluentWebElement

    Definition Classes
    Fluent → SearchActions
  28. def getBaseUrl(): String

    Definition Classes
    Fluent
  29. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  30. def getCookie(arg0: String): Cookie

    Definition Classes
    Fluent
  31. def getCookies(): Set[Cookie]

    Definition Classes
    Fluent
  32. def getDefaultBaseUrl(): String

    Definition Classes
    FluentAdapter
  33. def getDefaultConfig(): Unit

    Definition Classes
    FluentAdapter
  34. def getDefaultDriver(): WebDriver

    Definition Classes
    FluentAdapter
  35. def getDriver(): WebDriver

    Definition Classes
    Fluent
  36. def goTo(arg0: String): Fluent

    Definition Classes
    Fluent
  37. def goTo[P <: FluentPage](arg0: P): P

    Definition Classes
    Fluent
  38. def initClass[T <: FluentPage](arg0: Class[T]): T

    Attributes
    protected[org.fluentlenium.core]
    Definition Classes
    FluentAdapter → Fluent
  39. def initFluent(arg0: WebDriver): Fluent

    Attributes
    protected[org.fluentlenium.core]
    Definition Classes
    Fluent
  40. def initTest(): Unit

    Attributes
    protected[org.fluentlenium.core]
    Definition Classes
    FluentAdapter → Fluent
  41. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  42. def manage: Options

    retrieves the underlying option interface that can be used to set cookies, manage timeouts among other things

  43. def maximizeWindow(): Fluent

    Definition Classes
    Fluent
  44. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  45. final def notify(): Unit

    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  47. def pageSource(): String

    Definition Classes
    Fluent
  48. def quit(): Unit

    Definition Classes
    FluentAdapter
  49. def submit(selector: String, fields: (String, String)*): Fluent

    Submits a form with the given field values

    Submits a form with the given field values

    Example:
    1. submit("#login", fields =
      "email" -> email,
      "password" -> password
      )
  50. def submit(arg0: FluentDefaultActions[_]): Fluent

    Definition Classes
    Fluent
  51. def submit(arg0: String, arg1: <repeated...>[Filter]): Fluent

    Definition Classes
    Fluent
  52. def switchTo(): Fluent

    Definition Classes
    Fluent
  53. def switchTo(arg0: FluentWebElement): Fluent

    Definition Classes
    Fluent
  54. def switchToDefault(): Fluent

    Definition Classes
    Fluent
  55. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  56. def takeScreenShot(arg0: String): Fluent

    Definition Classes
    Fluent
  57. def takeScreenShot(): Fluent

    Definition Classes
    Fluent
  58. def text(arg0: String, arg1: <repeated...>[Filter]): List[String]

    Definition Classes
    Fluent
  59. def title(): String

    Definition Classes
    Fluent
  60. def url(): String

    Definition Classes
    Fluent
  61. def value(arg0: String, arg1: <repeated...>[Filter]): List[String]

    Definition Classes
    Fluent
  62. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. def waitUntil[T](block: ⇒ T): T

    Repeatedly applies this instance's input value to the given block until one of the following occurs: the function returns neither null nor false, the function throws an unignored exception, the default timeout expires

    Repeatedly applies this instance's input value to the given block until one of the following occurs: the function returns neither null nor false, the function throws an unignored exception, the default timeout expires

    block

    code to be executed

  66. def waitUntil[T](timeout: Int, timeUnit: TimeUnit)(block: ⇒ T): T

    Repeatedly applies this instance's input value to the given block until one of the following occurs: the function returns neither null nor false, the function throws an unignored exception, the timeout expires

    Repeatedly applies this instance's input value to the given block until one of the following occurs: the function returns neither null nor false, the function throws an unignored exception, the timeout expires

    timeout
    timeUnit

    duration

    block

    code to be executed

  67. val webDriver: WebDriver

    The WebDriver instance to use.

  68. def withDefaultPageWait(arg0: Long, arg1: TimeUnit): Fluent

    Definition Classes
    Fluent
  69. def withDefaultSearchWait(arg0: Long, arg1: TimeUnit): Fluent

    Definition Classes
    Fluent
  70. def withDefaultUrl(arg0: String): Fluent

    Definition Classes
    Fluent

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FluentAdapter

Inherited from Fluent

Inherited from SearchActions

Inherited from AnyRef

Inherited from Any

Ungrouped