wallaby v0.17.0 Release Notes

Release Date: 2017-05-17 // almost 7 years ago
  • ๐Ÿ—„ This release removes all methods declared as deprecated in the 0.16 release, experimental Selenium support and much more! If you are looking to upgrade from an earlier release, it is recommended to first go to 0.16.x. โœ… Other goodies include improved test helpers, a cookies API and handling for JS-dialogues.

    ๐Ÿ’ฅ Breaking Changes

    • โœ‚ Removed deprecated version of fill_in
    • โœ‚ Removed deprecated check
    • Removed deprecated set_window_size
    • โœ‚ Removed deprecated send_text
    • โœ‚ Removed deprecated versions of click
    • โœ‚ Removed deprecated checked?
    • Removed deprecated get_current_url
    • โœ‚ Removed deprecated versions of visible?
    • โœ‚ Removed deprecated versions of all
    • โœ‚ Removed deprecated versions of attach_file
    • โœ‚ Removed deprecated versions of clear
    • โœ‚ Removed deprecated attr
    • โœ‚ Removed deprecated versions of find
    • โœ‚ Removed deprecated versions of text
    • โœ‚ Removed deprecated click_link
    • โœ‚ Removed deprecated click_button
    • โœ‚ Removed depreacted choose

    ๐Ÿ”‹ Features

    • ๐Ÿ†• New cookie API with cookies/1 and set_cookie/3
    • New assert macros assert_has/2 and refute_has/2
    • execute_script now returns the session again and is pipable, there is an optional callback if you need access to the return value - thanks @krankin
    • Phantom server is now compatible with escripts - thanks @aaronrenner
    • ๐Ÿ”Š Ability to handle JavaScript dialogs via accept_dialogs/1, dismiss_dialogs/1, plus methods for alerts, confirms and prompts - thanks @padde
    • Ability to pass options for driver interaction down to the underlying hackney library through config :wallaby, hackney_options: [your: "option"] - thanks @aaronrenner
    • ๐ŸŒฒ Added check_log option to execute_script - thanks @aaronrenner
    • ๐ŸŒ Experimental support for selnium 2 and selenium 3 web drivers has been added, use at your own risk ;)
    • โšก๏ธ Updated hackney and httpoison dependencies - thanks @aaronrenner
    • โœ‚ Removed documentation for modules that aren't intended for external use - thanks @aaronrenner
    • set_value now works with text fields, checkboxes, radio buttons, and options. - thanks @graeme-defty

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix spawning of phantomjs when project path contains spaces - thanks @schnittchen
    • ๐Ÿ›  Fixed a couple of dialyzer warnings - thanks @aaronrenner
    • ๐Ÿ›  Fixed incorrect malformed label warning when it was really a mismatch between expected elements found