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,334 of 189,169
Downloads: 79,247

Daily

Ranking: 32,195 of 189,148
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,160,406,860bundler
91,224,844,718rake
101,216,844,295rack
29946,614,705rspec
38732,982,127rack-test
56644,609,845rubocop
74574,296,557pry
99441,333,807simplecov
136329,438,448sinatra
138324,578,217capybara
173271,779,233launchy
179264,099,265pry-byebug
1,79917,224,998codeclimate-test-reporter
17,551100,985cadre

Owners

#GravatarHandle
1icondkarter