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:
classHomePageextendsPage {
val url = "localhost:9000/index.html"
}
val homePage = newHomePage
go to homePage
Linear Supertypes
AnyRef, Any
Ordering
Alphabetic
By inheritance
Inherited
Hide All
Show all
Page
AnyRef
Any
Visibility
Public
All
Abstract Value Members
valurl: String
The URL of the page represented by this page object.
The URL of the page represented by this page object.
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 thego to
syntax with your page objects. Here's an example: