Capybara v3.20.0 Release Notes

  • 🚀 Release date: 2019-05-14

    ➕ Added

    • Node#obscured? to check viewport presence and element overlap
    • :obscured system filter to check whether elements are obscured in finders, assertions, and expectations
    • :label selector :for option can be a regexp
    • Significantly smaller isDisplayed/getAttribute atoms for selenium driver. If these produce issues you can disable their use by setting an environment variable named 'DISABLE_CAPYBARA_SELENIUM_OPTIMIZATIONS' (Please also report any issues).
    • 🔗 href: false option with find_link/click_link/:link selector ignores href presence/absence

    🛠 Fixed

    • ↪ Workaround Safari issue with send_keys not correctly using top level modifiers
    • ↪ Workaround Safari not retrying click due to incorrect error type
    • 🛠 Fix Safari attach_file block mode when clicking elements associated to the file input
    • ↪ Workaround Safari issue with repeated hover