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,167 of 186,995
Downloads: 75,930

Daily

Ranking: 12,639 of 186,959
Downloads: 82

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,908,242,014bundler
81,144,415,803rack
101,129,028,222rake
27909,782,048rspec
37689,684,890rack-test
57590,210,635rubocop
71543,136,562pry
99413,875,826simplecov
131314,354,171sinatra
135304,619,222capybara
168257,596,545launchy
172251,650,597pry-byebug
1,74416,722,422codeclimate-test-reporter
17,72093,616cadre

Owners

#GravatarHandle
1icondkarter