No commit activity in last 3 years
No release in over 3 years
Some new helpers for capybara.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

CapybaraHelpers

Gem adds some useful features for capybara.

Installation

Add this line to your application's Gemfile:

group :test do
  gem 'capybara-helpers'
end

And then execute:

$ bundle install

spec/spec_helper.rb

require 'capybara_helpers'

Usage

Parent node

You can get parent node of capybara node

find('some_selector').parent_node

Also you can get parent node by level number

find('some_selector').parent_node level: 3

Development

Todo

  • Write tests

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/capybara-helpers.