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,829 of 183,147
Downloads: 66,555

Daily

Ranking: 29,512 of 183,139
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,410,789,589bundler
9974,496,990rack
10955,044,755rake
25818,429,918rspec
37590,135,990rack-test
63476,237,134rubocop
68467,425,546pry
99348,647,059simplecov
122282,151,253sinatra
137256,696,250capybara
165219,583,989launchy
168215,065,086pry-byebug
1,62815,842,946codeclimate-test-reporter
16,96791,337cadre

Owners

#GravatarHandle
1icondkarter