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
Annotations
@deprecated
Deprecated
Page has been moved from org.scalatest.selenium to org.scalatestplus.selenium. Please update your imports, as this deprecated type alias will be removed in a future version of ScalaTest.
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 homePagePage has been moved from org.scalatest.selenium to org.scalatestplus.selenium. Please update your imports, as this deprecated type alias will be removed in a future version of ScalaTest.