Class/Object

play.api.test

TestBrowser

Related Docs: object TestBrowser | package test

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    webDriver

    The WebDriver instance to use.

Value Members

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  8. def await(): FluentWait

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

    Permalink
  10. def clear(arg0: FluentWebElement): Fluent

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

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

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

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

    Permalink
    Definition Classes
    Fluent
  15. def clone(): AnyRef

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

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

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

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

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

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

    Permalink
    Definition Classes
    Fluent
  22. def finalize(): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Fluent
  30. def getDefaultBaseUrl(): String

    Permalink
    Definition Classes
    FluentAdapter
  31. def getDefaultConfig(): Unit

    Permalink
    Definition Classes
    FluentAdapter
  32. def getDefaultDriver(): WebDriver

    Permalink
    Definition Classes
    FluentAdapter
  33. def getDriver(): WebDriver

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  40. def manage: Options

    Permalink

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

  41. def maximizeWindow(): Fluent

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

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

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

    Permalink
    Definition Classes
    AnyRef
  45. def pageSource(): String

    Permalink
    Definition Classes
    Fluent
  46. def quit(): Unit

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

    Permalink

    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

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

    Permalink
    Definition Classes
    Fluent
  50. def switchTo(): Fluent

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

    Permalink
    Definition Classes
    Fluent
  52. def switchToDefault(): Fluent

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

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

    Permalink
    Definition Classes
    Fluent
  55. def takeScreenShot(): Fluent

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

    Permalink
    Definition Classes
    Fluent
  57. def title(): String

    Permalink
    Definition Classes
    Fluent
  58. def url(): String

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

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

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

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

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

    Permalink

    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

    Permalink

    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

    timeUnit

    duration

    block

    code to be executed

  65. val webDriver: WebDriver

    Permalink

    The WebDriver instance to use.

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

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

    Permalink
    Definition Classes
    Fluent
  68. def withDefaultUrl(arg0: String): Fluent

    Permalink
    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