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
Trait that facilitates using the page object pattern with the ScalaTest Selenium DSL.
If you use the page object pattern, mixing trait
Pageinto your page classes will allow you to use thego tosyntax 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