0.0
No commit activity in last 3 years
No release in over 3 years
Powers up The Dude with Capybara integration
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

 Project Readme

TheDude-Web

Adds basic web integration to TheDude.

This consists of including some useful web libraries including Capybara, net/http and Nokogiri so that they can be used in Dude commands.

Capybara

TheDude is configured to use Capybara This means that you can use Capybara DSL shortcuts in your dude commands

command 'a web script' do
  Capybara.app_host = 'http://www.google.com'
  visit '/'
end

By default this will use the selenium driver however other Capybara drivers can be configured as per the instructions in the Capybara readme

Installing

Simply install the gem using

$ gem install the_dude-web

The dude should detect the plugin and initialize it automatically. In order to check that the plugin is installed you can type

$ dude list plugins