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
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: