com.markatta.scalenium

Browser

final class Browser extends HasDriver with HasSearchContext with PageProperties with Cookies with ScreenShots with Navigation with Scripts with MarkupSearch with Await with Forms

Represents the browser, use it to do stuff you do with your browser, but automated.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Browser
  2. Forms
  3. Await
  4. MarkupSearch
  5. Scripts
  6. Navigation
  7. ScreenShots
  8. Cookies
  9. PageProperties
  10. HasSearchContext
  11. HasDriver
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Browser(driver: WebDriver)

    driver

    Selenium WebDriver to use as backend

Type Members

  1. final class FieldWriter extends AnyRef

    Definition Classes
    Forms
  2. class UntilCssSelector extends AnyRef

    Definition Classes
    Await
  3. class UntilPredicate extends AnyRef

    Definition Classes
    Await
  4. class WaitAtMostBuilder extends AnyRef

    Definition Classes
    Await

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def all(cssSelector: String): Seq[Element]

    Definition Classes
    MarkupSearch
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close(): Unit

    close the current window, quit of no windows left

  8. def cookies: Map[String, Cookie]

    Definition Classes
    Cookies
  9. def currentUrl: String

    Definition Classes
    PageProperties
  10. implicit val defaultInterval: Interval

    Definition Classes
    Await
  11. implicit val defaultTimeout: Timeout

    Definition Classes
    Await
  12. val driver: WebDriver

    Selenium WebDriver to use as backend

    Selenium WebDriver to use as backend

    Attributes
    protected
    Definition Classes
    BrowserHasDriver
  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. def executeAsyncScript(script: String, args: String*): Browser.this.type

    Definition Classes
    Scripts
  16. def executeScript(script: String, args: String*): Browser.this.type

    Definition Classes
    Scripts
  17. def fill(vals: (String, String)*)(implicit failureHandler: MissingElementFailureHandler): Unit

    Fill each field by css selector with the corresponding value

    Fill each field by css selector with the corresponding value

    vals

    cssSelector -> value

    Definition Classes
    Forms
  18. def fillById(vals: (String, String)*)(implicit failureHandler: MissingElementFailureHandler): Unit

    Fill each field by id with the corresponding value

    Fill each field by id with the corresponding value

    vals

    id -> value

    Definition Classes
    Forms
  19. def fillByName(vals: (String, String)*)(implicit failureHandler: MissingElementFailureHandler): Unit

    Fill each field by name with the corresponding value

    Fill each field by name with the corresponding value

    vals

    name -> value

    Definition Classes
    Forms
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def find(cssSelector: String): Seq[Element]

    returns

    all matching elements or empty sequence if not found or any other type of error

    Definition Classes
    MarkupSearch
  22. def first(cssSelector: String): Option[Element]

    Definition Classes
    MarkupSearch
  23. def focusedElement: Element

    Definition Classes
    PageProperties
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def goTo(url: String): Browser.this.type

    Definition Classes
    Navigation
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  31. def pageSource: String

    Definition Classes
    PageProperties
  32. def pageTitle: String

    returns

    the title of the current page

    Definition Classes
    PageProperties
  33. def quit(): Unit

    shut down the selenium browser

  34. val searchContext: WebDriver

    Definition Classes
    BrowserHasSearchContext
  35. def select(cssSelector: String): Seq[Element]

    Definition Classes
    MarkupSearch
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def takeScreenShot(fileName: String = defaultScreenShotName): Browser.this.type

    Definition Classes
    ScreenShots
  38. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def waitAtMost(n: Long): WaitAtMostBuilder

    Definition Classes
    Await
  43. def waitFor(cssSelector: String)(implicit timeout: Timeout, interval: Interval): UntilCssSelector

    Definition Classes
    Await
  44. def waitFor(predicate: ⇒ Boolean)(implicit timeout: Timeout, interval: Interval): UntilPredicate

    Definition Classes
    Await
  45. final def write(text: String): FieldWriter

    Definition Classes
    Forms

Inherited from Forms

Inherited from Await

Inherited from MarkupSearch

Inherited from Scripts

Inherited from Navigation

Inherited from ScreenShots

Inherited from Cookies

Inherited from PageProperties

Inherited from HasSearchContext

Inherited from HasDriver

Inherited from AnyRef

Inherited from Any

Ungrouped