Introducing the Watir Page Helper gem
I’ve very recently released a watir-page-helper gem that provides some useful helper methods when creating page models when using Watir-WebDriver (I chose not to support Watir as it doesn’t work on...
View ArticleRemoving local page references from Cucumber steps
I’ve been giving some thought about the maintainability of having local page object model references in Cucumber steps. To explain what I mean, here’s some code of mine from an Etsy page model step:...
View ArticleWatir-page-helper has been end-of-lifed
Intro I am happy to announce that the watir-page-helper gem has been end-of-lifed: meaning no further development will happen on it and it will remain as it stands. I am thoroughly supportive of...
View ArticleRoll your own page objects
There seems to be a lot of focus being put into page object ruby gems at the moment. Cheezy has done a fantastic job of the aptly named page-object that supports Watir-Webdriver and Selenium-Webdriver,...
View ArticleWebDriverJS & Mocha Part 3: Page Objects
I recently shared how to get started with WebDriverJS and Mocha, and how to use hooks. This post continues on from there: I will share how to set up our own page objects to model our application for...
View ArticleAMA: Page Object Best Practices
Anonymous asks.. What do you think is best practice for storing element locations? I’ve heard about having an “Element map”, a single place where all element IDs or methods for location are stored. Is...
View ArticleAMA: R.Y.O. Page Objects 2.0
Michael Karlovich asks… Do you have any updated thoughts on rolling your own page objects with Watir? The original post is almost 4 years old but is still the basis (loosely) of every page object...
View ArticleAMA: more details about our JS e2e tests
Satyajit Malugu asks… Saw your recent post on JS vs Ruby. As a recent migrant from Ruby to JS for mobile test automation – couple of questions 1) how are you doing page objects (ES6 works too) 2) Are...
View Article