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.

Required Ruby Version

>= 0

Authors

Dorian Karter

Versions

  1. 2.0.0 July 06, 2022 (910 KB)
  2. 1.1.1 September 22, 2019 (909 KB)
  3. 1.1.0 May 14, 2018 (909 KB)
  4. 1.0.2 October 28, 2016 (909 KB)
  5. 1.0.1 October 28, 2016 (909 KB)
Show all versions (9 total)

Pushed by

SHA 256 checksum