Package

org.pageobject

core

Permalink

package core

Visibility
  1. Public
  2. All

Type Members

  1. case class BrowserErrorPage() extends PageObject with Product with Serializable

    Permalink

    This is a PageObject to detect Browser Error Pages.

    This is a PageObject to detect Browser Error Pages.

    It is used as a default for UnexpectedPages to cancel a test when a BrowserErrorPage was found.

  2. case class Dimension(width: Int, height: Int) extends Product with Serializable

    Permalink

    A dimension containing the width and height of a screen element.

  3. case class Point(x: Int, y: Int) extends Product with Serializable

    Permalink

    A point containing an XY screen location.

  4. case class Rect(x: Int, y: Int, width: Int, height: Int) extends Product with Serializable

    Permalink

    A dimension containing the width and height of a screen element.

  5. trait TestHelper extends AnyRef

    Permalink
  6. trait WaitFor extends DurationDsl with Logging

    Permalink

    WaitFor provides a way to configure the patience for different actions.

    WaitFor provides a way to configure the patience for different actions.

    In opposide to ScalaTest's Eventually, waitFor will abort when a WebDriverException was detected. You can also not scale all timeouts like in AbstractPatienceConfiguration.

    Example:   object PageBrowser extends WaitFor {     // timeout how long to wait for the expected page     object At extends PatienceConfig(30.seconds)   }

    Example:   waitFor(PageBrowser.At) {     assert(...) // will try up to 30 seconds until the test will be aborted   }

    If you want to override this value for a test, use withPatience:   withPatience(PageBrowser.At -> 1.second) {     // the at checker will now already be aborted after one second...   }

Value Members

  1. object Rect extends Serializable

    Permalink
  2. object SeleniumException

    Permalink
  3. object TestHelper extends TestHelper

    Permalink
  4. object WaitFor extends DurationDsl

    Permalink

    Companion object WaitFor, only for internal usage

  5. package api

    Permalink
  6. package browser

    Permalink
  7. package driver

    Permalink
  8. package dsl

    Permalink
  9. package page

    Permalink
  10. package tools

    Permalink

Ungrouped