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,104 of 187,967
Downloads: 78,869

Daily

Ranking: 29,260 of 187,960
Downloads: 15

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,047,993,597bundler
91,186,051,384rack
101,178,214,454rake
28930,568,481rspec
38715,078,045rack-test
57621,211,399rubocop
74560,774,668pry
99429,127,084simplecov
134322,541,996sinatra
136316,806,862capybara
171265,718,619launchy
175258,758,676pry-byebug
1,76717,007,208codeclimate-test-reporter
17,90595,225cadre

Owners

#GravatarHandle
1icondkarter