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