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,193 of 188,317
Downloads: 79,041

Daily

Ranking: 34,383 of 188,299
Downloads: 8

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,085,315,544bundler
91,196,294,760rack
101,190,757,019rake
29936,211,935rspec
38721,504,408rack-test
57629,439,712rubocop
74565,321,817pry
99433,189,344simplecov
134324,787,204sinatra
137319,756,363capybara
172267,757,291launchy
176260,566,209pry-byebug
1,78317,075,304codeclimate-test-reporter
17,78597,068cadre

Owners

#GravatarHandle
1icondkarter