Selenium Fury helps you quickly build page objects when using either Selenium RC API or Selenium Web Driver API.
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
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
launch_web_driver("http://www.homeaway.com/")
generate(driver)
driver.quit
launch_web_driver("http://www.homeaway.com/")
get_page_object(driver,'HomePage')
validate(HomePage)
driver.quit
- Scott Sims: Current maintainer.
- Copyright (c) 2012 HomeAway, Inc.
- All rights reserved. http://www.homeaway.com See LICENSE for details.