play.api.test

TestBrowser

Related Docs: object TestBrowser | package test

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[E], 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: Any): Boolean

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

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

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

    Definition Classes
    Fluent
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  6. def alert(): Alert

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

    Definition Classes
    Any
  8. def await(): FluentWait

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

  10. def clear(arg0: FluentWebElement): Fluent

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

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

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

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

    Definition Classes
    Fluent
  15. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    Fluent
  22. def finalize(): Unit

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

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

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

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

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

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

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

    Definition Classes
    Fluent
  30. def getDefaultBaseUrl(): String

    Definition Classes
    FluentAdapter
  31. def getDefaultConfig(): Unit

    Definition Classes
    FluentAdapter
  32. def getDefaultDriver(): WebDriver

    Definition Classes
    FluentAdapter
  33. def getDriver(): WebDriver

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

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

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

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

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

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

    Definition Classes
    Any
  40. def manage: Options

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

  41. def maximizeWindow(): Fluent

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

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

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

    Definition Classes
    AnyRef
  45. def pageSource(): String

    Definition Classes
    Fluent
  46. def quit(): Unit

    Definition Classes
    FluentAdapter
  47. 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
      )
  48. def submit(arg0: FluentDefaultActions[_]): Fluent

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

    Definition Classes
    Fluent
  50. def switchTo(): Fluent

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

    Definition Classes
    Fluent
  52. def switchToDefault(): Fluent

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

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

    Definition Classes
    Fluent
  55. def takeScreenShot(): Fluent

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

    Definition Classes
    Fluent
  57. def title(): String

    Definition Classes
    Fluent
  58. def url(): String

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. 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

  64. 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

  65. val webDriver: WebDriver

    The WebDriver instance to use.

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

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

    Definition Classes
    Fluent
  68. 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[E]

Inherited from AnyRef

Inherited from Any

Ungrouped