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: 21,149 of 180,643
Downloads: 61,162

Daily

Ranking: 22,744 of 180,629
Downloads: 16

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,097,068,755bundler
10884,731,449rack
16860,399,527rake
24771,261,281rspec
36539,871,559rack-test
63425,530,742pry
68418,280,616rubocop
101314,006,830simplecov
117261,515,964sinatra
138229,586,701capybara
165196,226,729launchy
170193,423,388pry-byebug
1,52915,383,879codeclimate-test-reporter
16,48389,456cadre

Owners

#GravatarHandle
1icondkarter