0.0
Low commit activity in last 3 years
No release in over a year
Use Watir (http://github.com/watir/watir) in Hanami.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
 Project Readme

Watir::Hanami

Gem Version Build Status Coverage

This gem makes Watir work with Hanami.

Installation

Add this code to your Gemfile:

group :test do
  gem "watir-hanami"
end

Usage

Just use Watir like you've always done in your requests/integration tests:

browser = Watir::Browser.new
browser.goto home_path
browser.text_field(name: "first").set "Jarmo"
browser.text_field(name: "last").set  "Pertman"
browser.button(name: "sign_in").click

Limitations

  • This is a [quick] adaptation of watir-rails. All the heavy lifting was done by those folks.

Contributors

License

See LICENSE.