Categories: None [Edit]

capybara_error_intel

https://rubygems.org/gems/capybara_error_intel
https://github.com/dkarter/capybara_error_intel
Capybara provides excellent error messages for its built in predicate methods: has_selector?, has_text?, has_title? etc.. but when those are used from Page Objects while exposing predicate methods from the PageObjects themselves the error messages are lost and all we get is "expected true, got false". Including this module into your PageObject by adding "include CapybaraErrorIntel::DSL" after "include Capybara::DSL" will return the heuristic error messages.

Total

Ranking: 21,187 of 197,085
Downloads: 82,282

Daily

Ranking: 19,007 of 197,066
Downloads: 12

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,796,160,121bundler
81,428,256,062rake
121,358,492,981rack
291,025,379,194rspec
42819,094,372rack-test
55754,099,562rubocop
72637,492,173pry
98505,778,426simplecov
145361,389,629capybara
147358,601,712sinatra
180301,722,300launchy
190288,924,298pry-byebug
1,87318,428,027codeclimate-test-reporter
18,405104,106cadre

Owners

#GravatarHandle
1icondkarter