Trait

org.scalatest.selenium

Page

Related Doc: package selenium

Permalink

trait Page extends AnyRef

Trait that facilitates using the page object pattern with the ScalaTest Selenium DSL.

If you use the page object pattern, mixing trait Page into your page classes will allow you to use the go to syntax with your page objects. Here's an example:

class HomePage extends Page {
  val url = "localhost:9000/index.html"
}

val homePage = new HomePage
go to homePage

Source
Page.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Page
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val url: String

    Permalink

    The URL of the page represented by this page object.