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: 20,932 of 193,855
Downloads: 80,603

Daily

Ranking: 9,847 of 193,834
Downloads: 139

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,505,670,264bundler
81,349,417,869rake
121,298,314,243rack
29990,995,714rspec
40781,461,613rack-test
56707,413,324rubocop
72611,661,536pry
97477,053,112simplecov
142346,316,378sinatra
143345,544,176capybara
177289,097,488launchy
186278,437,239pry-byebug
1,84917,978,255codeclimate-test-reporter
18,037103,190cadre

Owners

#GravatarHandle
1icondkarter