All Versions
127
Latest Version
Avg Release Cycle
31 days
Latest Release
-

Changelog History
Page 9

  • v2.14.2 Changes

    ๐Ÿš€ Release date: 2017-06-09

    ๐Ÿ›  Fixed

    • โ†ช Workaround for system modals when using headless Chrome now works if the page changes
  • v2.14.1 Changes

    ๐Ÿš€ Release date: 2017-06-07

    ๐Ÿ›  Fixed

    • โœ… Catch correct error when unexpected system modals are discovered in latest selenium [Thomas Walpole]
    • โšก๏ธ Update default puma server registration to encourage it to run in single mode [Thomas Walpole]
    • Suppress invalid element errors raised while lazily evaluating the results of all [Thomas Walpole]
    • Added missing with_selected option to the :select selector to match options/with_options options - Issue #1865 [Bartosz Nowak]
    • โ†ช Workaround broken system modals when using selenium with headless Chrome
  • v2.14.0 Changes

    ๐Ÿš€ Release date: 2017-05-01

    โž• Added

    • ๐Ÿ”ง "threadsafe" mode that allows per-session configuration
    • :type filter added to the :fillable_field selector
    • Proxy methods when using RSpec for all/within that call either the Capybara::DSL or RSpec matchers depending on arguments passed
    • ๐Ÿ‘Œ Support for the new errors in selenium-webdriver 3.4

    ๐Ÿ›  Fixed

    • Element#inspect doesn't raise an error on obsolete elements
    • Setting a contenteditable element with Selenium and Chrome 59
    • โ†ช Workaround a hang while setting the window size when using geckodriver 0.16 and Firefox 53
    • โœ… Clicking on url with a blank href goes to the current url when using the RackTest driver
  • v2.13.0 Changes

    ๐Ÿš€ Release date: 2017-03-16

    โž• Added

    • ๐Ÿ‘ Selenium driver supports returning element(s) from evaluate_script [Thomas Walpole]
    • โœ… rack_test driver supports click on checkboxes and radio buttons to change their states [Thomas Walpole]
    • ๐Ÿ‘Œ Support RSpec equivalent assertions and expectations for MiniTest [Thomas Walpole]

    ๐Ÿ›  Fixed

    • Editing of content editable children with selenium
  • v2.12.1 Changes

    ๐Ÿš€ Release date: 2017-02-16

    ๐Ÿ›  Fixed

    • ๐Ÿ’Ž Disable lazy Capybara::Results evaluation for JRuby due to ongoing issues
  • v2.12.0 Changes

    ๐Ÿš€ Release date: 2017-01-22

    โž• Added

    • Session#switch_to_frame for manually handling frame switching - Issue #1365 [Thomas Walpole]
    • 0๏ธโƒฃ Session#within_frame now accepts a selector type (defaults to :frame) and locator [Thomas Walpole]
    • Session#execute_script and Session#evaluate_script now accept optional arguments that will be passed to the JS function. This may not be supported by all drivers, and the types of arguments that may be passed is limited. If drivers opt to support this feature they should support passing page elements. [Thomas Walpole]
    • :exact option for text and title matchers - Issue #1256 [Thomas Walpole]
    • :exact_text option for selector finders/minders - Issue #1256 [Thomas Walpole]
    • Capybara.exact_text setting that affects the text matchers and :text options passed to selector finders/matchers. Issue #1256 [Thomas Walpole]
    • :make_visible option for #attach_file that allows for convenient changing of the CSS style of a file input element before attaching the file to it. Requires driver support for passing page elements to Session#execute_script [Thomas Walpole]
    • assert_all_selectors/assert_none_of_selectors assertions added
    • ๐Ÿ”— :link selector (used by find_link/click_link) now supports finding hyperlink placeholders (no href attribute) when href: nil option is specified [Thomas Walpole]
    • within_element as an alias of within due to RSpec collision

    ๐Ÿ›  Fixed

    • Fields inside a disabled fieldset are now correctly considered disabled - Issue #1816 [Thomas Walpole]
    • ๐Ÿ’Ž Lazy Capybara::Results evaluation enabled for JRuby 9.1.6.0+
    • ๐Ÿ‘ป A driver returning nil for #current_url won't raise an exception when calling #current_path [Dylan Reichstadt]
    • ๐Ÿ’Ž Support Ruby 2.4.0 unified Integer [Koichi ITO]
    • โœ… RackTest driver no longer modifies the text content of textarea elements in order to behave more like a real browser [Thomas Walpole]
    • TextQuery (assert_text/have_text/etc) now ignores errors when trying to generate more helpful errors messages so the original error isn't hidden [Thomas Walpole]
  • v2.11.0 Changes

    ๐Ÿš€ Release date: 2016-12-05

    โž• Added

    • Options for clearing session/local storage on reset added to the Selenium driver
    • Window size changes wait for the size to stabilize
    • Defined return value for most actions
    • Ignore specific error when qutting selenium driver instance - Issue #1773 [Dylan Reichstadt, Thomas Walpole]
    • Warn on selenium unknown errors rather than raising when quitting driver [Adam Pohorecki, Thomas Walpole]
    • Capybara::Result#each now returns an Enumerator when called without a block - Issue #1777 [Thomas Walpole]

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ Selenium driver with Chrome should support multiple file upload [Thomas Walpole]
    • ๐Ÿ›  Fix visible: :hidden with :text option behavior [Thomas Walpole]
  • v2.10.2 Changes

    ๐Ÿš€ Release date: 2016-11-30

    ๐Ÿ›  Fixed

    • App exceptions with multiple parameter initializers now re-raised correctly - Issue #1785 [Michael Lutsiuk]
    • ๐Ÿ“œ Use Addressable::URI when parsing current_path since it's more lenient of technically invalid URLs - Issue #1801 [Marcos Duque, Thomas Walpole]
  • v2.10.1 Changes

    ๐Ÿš€ Release date: 2016-10-08

    ๐Ÿ›  Fixed

    • ๐Ÿ’Ž App errors are now correctly raised with the explanatory cause in JRuby [Thomas Walpole]
    • ๐Ÿ’Ž Capybara::Result optimization disabled in JRuby due to issue with lazy enumerator evaluation [Thomas Walpole] See: https://github.com/jruby/jruby/issues/4212
  • v2.10.0 Changes

    ๐Ÿš€ Release date: 2016-10-05

    โž• Added

    • Select <button> elements with descendant images with alt attributes matching the locator [Ian Lesperance]
    • Locator string is optional in selector based matchers [Thomas Walpole]
    • 0๏ธโƒฃ Selectors can specify their default visible setting [Thomas Walpole]
    • Selector based finders and matchers can be passed a block to filter the results within the retry behavior [Thomas Walpole]