Skip to content

Instantly share code, notes, and snippets.

@rodmatola
Created August 17, 2018 03:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodmatola/cca10587b2fc9c5996166d4a60e5fc78 to your computer and use it in GitHub Desktop.
Save rodmatola/cca10587b2fc9c5996166d4a60e5fc78 to your computer and use it in GitHub Desktop.
class LoginPage < SitePrism::Page
set_url ""
element :user_field, ""
element :password_field, ""
element :btn_login, ""
end
def current_page_is?(page)
page.has_title? page
end
NAMES = {
'main_page' => ''
}
USERS = {
'username' => '',
'email' => '',
'ID' => ''
}
PASSWORDS = {
'username' => '',
'email' => '',
'ID' => ''
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment