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,776 of 192,263
Downloads: 79,674

Daily

Ranking: 84,813 of 192,239
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,356,470,921bundler
81,297,491,352rake
101,264,833,653rack
29972,591,437rspec
39760,912,245rack-test
56681,123,325rubocop
73596,441,726pry
99461,578,357simplecov
139339,098,240sinatra
141336,844,841capybara
178281,858,596launchy
184272,448,493pry-byebug
1,83517,648,846codeclimate-test-reporter
17,867102,438cadre

Owners

#GravatarHandle
1icondkarter