Skip to content

Instantly share code, notes, and snippets.

@pedrolopesme
Created October 31, 2013 21:03
Embed
What would you like to do?
# encoding: UTF-8
require 'page-object'
require_relative '../../../config/env'
class HomePage
include PageObject
page_url "http://www.blogdopedro.net/"
expected_title "Pedro Mendes - Desenvolvimento web e um pouco mais."
# Page Objects
text_field :input_search, :name => "s"
button :search, :class => "search-submit"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment