A page object DSL for ScalaTest and Selenium.
Page specific logic is encapsulated in page specific classes. Actions to be performed on a page are scoped to blocks.
"After searching, the results page" should "have the correct title" in {
go to home and { > =>
> search "Cheese!"
} lastly { > =>
> check title
}
}
Clone the repo and run:
sbt test
Scope Injection: boilerplate-free scope propagation à la DSL Paradise.