KEMBAR78
SitePrism vs PageObject | PDF
Installation
site_prism page-object
Structure
site_prism page-object
Using
site_prism page-object
Example of the described page
site_prism page-object
Example of a test
site_prism page-object
Example of a test for an external page
site_prism page-object
Timings
site_prism page-object
Pros / cons
site_prism
+ Capybara DSL
+ Flexible driver selection
+ Works with the logical elements
+ Speed
+ Simple integration with CI
- Selectors
page-object
+ Works with a real server
+ Specifically suited for using with Cucumber
+ Works with html-elements of the page
+ Less dependencies
- Speed
- Doesn't work with headless-browsers
- Complicated integration with CI
Visit our blog for more great articles on programming:
anadea.info/blog

SitePrism vs PageObject