Skip to content

Get me started right now!

cheezy edited this page Jul 24, 2011 · 12 revisions

So you want to use the page-object gem. Here is what you need to do.

Create your pages

The first thing you must do is create your pages. These are simple ruby classes that include the PageObject Module.

class RegistrationPage
  include PageObject
end

By including the PageObject Module you have added a lot of power to your page.