Skip to content

scottcsims/SeleniumFury

Repository files navigation

SeleniumFury

Selenium Fury helps you quickly build page objects when using either Selenium RC API or Selenium Web Driver API.

Demo Setup

If you are running the demo from the source.

bundle console
require 'spec/spec_helper'

If you are running the demo from the installed gem

irb
require 'selenium_fury'
include SeleniumFury::SeleniumWebDriver::CreateSeleniumWebDriver

Quick Test Demo

launch_web_driver("http://www.homeaway.com/")
home_page=get_page_object(driver,'HomePage')
home_page.search_keywords.send_keys 'Destin'
home_page.keyword_submit.click
driver.quit

Generate Demo

launch_web_driver("http://www.homeaway.com/")
generate(driver)
driver.quit

Validate Demo

launch_web_driver("http://www.homeaway.com/")
get_page_object(driver,'HomePage')
validate(HomePage)
driver.quit

Copyright