The NetBSD Project

CVS log for pkgsrc/www/ruby-capybara/Makefile

[BACK] Up to [] / pkgsrc / www / ruby-capybara

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.36 / (download) - annotate - [select for diffs], Sun Feb 4 06:43:57 2024 UTC (2 weeks, 4 days ago) by taca
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

www/ruby-capybara: update to 3.40.0

3.40.0 (2024-01-26)


* Dropped support for Ruby 2.7, 3.0+ is now required
* Dropped support for Selenium < 4.8
* Use the new headless option on chromedriver with registered selenium
  driver [Neil Carvalho]


* Capybara::Result#to_ary to support multiple assignment [Sean Doyle]
* has_element? and related matchers [Sean Doyle]
* Rack 3 support


* Forward save_screenshot options to selenium - Issue 2738
* Rack test - don't auto submit forms with multiple inputs [Mitchell Henke]
* Table row selector matches cell values in order - Issue 2686 [Jeff Parr]
* Table row selector fixes for first column - Issue 2685 [Jeff Par]

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jun 11 14:33:41 2023 UTC (8 months, 1 week ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

www/ruby-capybara: update to 3.39.2

3.39.2 (2023-06-10)


* Fix Selenium version comparison [aki77]

Revision 1.34 / (download) - annotate - [select for diffs], Sun May 14 14:19:44 2023 UTC (9 months, 1 week ago) by taca
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

www/ruby-capybara: update to 3.39.1

3.39.1 (2023-05-12)


* Fix usage of Selenium logger

Revision 1.33 / (download) - annotate - [select for diffs], Sun Apr 30 14:08:45 2023 UTC (9 months, 3 weeks ago) by taca
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

www/ruby-capybara: update to 3.39.0

3.39.0 (2023-04-02)


* Support :target filter option on :link selector [Yudai Takada]
* Experimental Rack 3 support
* Text normalization performance improvements [Brandon Weaver]


* MS Edge button click [Brian J. Bayer]
* Options/Capabilities choosing based on Selenium versions
* Support for base versions [Matijs van Zuijlen]
* ExpectedError not defined in Selenium 4+
* Filter block forwarding to a number of matchers [Christophe Bliard]


* Dropped support for rack 1.x

Revision 1.32 / (download) - annotate - [select for diffs], Sun Dec 4 16:12:39 2022 UTC (14 months, 2 weeks ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

www/ruby-capybara: update to 3.38.0

3.38.0 (2022-11-03)


* Capybara.w3c_click_offset now defaults to true.  If you need click offsets
  to be from the elements top left corner set it to false in your config


* Support Selenium 4.3 changes to click offset calculations
* click, double_click, right_click can now be called on the session to click
  the currently scoped element (or document)
* Session#within now passes the scoped element to the block
* Support rack-test 2+
* Retry interval is now configurable [Masahiro NOMOTO]
* Support Puma 6 - Issue #2590
* Selenium: DetachedShadowRootError is treated as an invalid element error
  [Perryn Fowler]
* Selenium: When inspected shadow roots will have a tag name of "ShadowRoot"
* evaluate_async_script added to Session::DSL_METHODS [Henry Blyth]


* Use higher precision clock in Capybara::Helpers::Timer if available
* rack-test driver behavior with \r\n - Issue #2547 [Stefan Hoffmann]
* Updated for deprecation of positional parameters in
* Explicitly set cause on server raised errors
* Options no longer duplicated in have_xxx invalid option error message
  [Yudai Takada]
* Animation disabler is now threadsafe [Daniel Sheppard]
* Server connection count tracking [Oleksandr K.]
* Ensure scopes are reset when session is [Henry Blyth]

Revision 1.31 / (download) - annotate - [select for diffs], Mon Oct 10 03:36:51 2022 UTC (16 months, 1 week ago) by taca
Branch: MAIN
Changes since 1.30: +1 -3 lines
Diff to previous 1.30 (colored)

Remove lines for Ruby 2.6.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Sep 4 19:02:44 2022 UTC (17 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored)

ruby-capybara: needs ruby 2.7+

Revision 1.29 / (download) - annotate - [select for diffs], Wed Aug 31 14:20:43 2022 UTC (17 months, 3 weeks ago) by taca
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

www/ruby-capybara: update to 3.37.1

3.37.0 (2022-05-07)


* Ruby 2.7.0+ is now required


* [Beta] CSP nonces inserted into animation disabler additions - Issue #2542

* Support <base> element in rack-test driver - ISsue #2544

* [Beta] Element#shadow_root support.  Requires selenium-webdriver
  4.1+. Only currently supported with Chrome when using the selenium driver.
  Note: only CSS can be used to find elements from the shadow root.
  Therefore you won't be able to use most Capybara helper methods (fill_in,
  click_link, find_field, etc) directly from the shadow root since those
  locators are built using XPath.  If you first locate a descendant from the
  shadow root using CSS then you should be able to use all the Capybara
  methods from there.

* Regexp now supported for exact_text finder option


* Fragments in referer headers in rack-test driver - Issue #2525
* Selenium v4.1 deprecation notice

3.37.1 (2022-05-09)


* Regression in rack-test visit - Issue #2548

Revision 1.28 / (download) - annotate - [select for diffs], Sat Dec 11 14:44:13 2021 UTC (2 years, 2 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

www/ruby-capybara: update to 3.36.0

3.36.0 (2021-10-24)


* Ruby 2.6.0+ is now required
* Minimum selenium-webdriver supported is now 3.142.7


* Support for selenium-webdriver 4.x
* allow_label_click accepts click options to be used when clicking an
  associated label
* Deprecated allow_gumbo= in favor of use_html5_parsing= to enable use of
  Nokogiri::HTML5 when available
* Session#active_element returns the element with focus - Not supported by
  the RackTest driver [Sean Doyle]
* Support focused: filter for finding interactive elements - Not supported
  by the RackTest driver [Sean Doyle]


* Sibling and ancestor queries now work with Simple::Node - Issue #2452
* rack_test correctly ignores readonly attribute on specific input element
* Node#all_text always returns a string - Issue #2477
* have_any_of_selectors negated match - Issue #2473
* Document#scroll_to fixed for standards behavior - pass quirks: true if you
  need the older behavior [Eric Anderson]
* Use capture on attach file event listener for better React compatibility
  [Jeff Way]
* Animation disabler produces valid HTML [Javi Martin]


* References to non-w3c mode in drivers/tests. Non-w3c mode is obsolete and
  no one should be using it anymore. Capybara hasn't been testing/supporting
  it in a while

Revision 1.27 / (download) - annotate - [select for diffs], Wed Feb 3 15:33:07 2021 UTC (3 years ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.26: +3 -4 lines
Diff to previous 1.26 (colored)

www/ruby-capybara: update to 3.35.3

pkgsrc changes: stop a few warnings of pkglint.

3.35.3 (2021-01-29)

* Just a release to have the correct dates in the in released

3.35.2 (2021-01-29)

* Selenium deprecation suppressor with Selenium 3.x

3.35.1 (2021-01-26)


* Default chrome driver registrations use chrome - Issue #2442 [Yuriy
* 'Capybara.test_id' usage with the :button selector - Issue #2443

Revision 1.26 / (download) - annotate - [select for diffs], Tue Jan 26 15:02:11 2021 UTC (3 years ago) by taca
Branch: MAIN
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 (colored)

www/ruby-capybara: update to 3.35.0

Version 3.35.0

Release date: 2020-01-25

* Support Regexp matching for individual class names in :class filter
  passed an Array
* Animation disabler now supports JQuery animation disabling when JQuery
  loaded from body [Chien-Wei Huang]

* :button selector type use with enable_aria_role [Sean Doyle]
* elements don't associate with aria-role buttons
* Ignore Selenium::WebDriver::Error::InvalidSessionIdError when quitting
  driver [Robin Daugherty]
* Firefox: Don't click input when sending keys if already focused
* Miscellaneous issues with selenium-webdriver 4.0.0.alphas
* Nil return error in node details optimizations
* Animation disabler now inserts XHTML compliant content [Dale Morgan]

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jan 16 12:42:09 2021 UTC (3 years, 1 month ago) by taca
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

www/ruby-capybara: update to 3.34.0

Version 3.34.0

Release date: 2020-11-26


* Ability to fill in with emoji when using Chrome with selenium driver
  (Firefox already worked)
* Current path assertions/expectations accept optional filter block
* Animation disabler now specifies scroll-behavior: auto; [Nathan
* :button selector can now find elements by label text [Sean Doyle]
* Session#send_keys to send keys to the current element with focus in
  drivers that support the concept of a current element [Sean Doyle]


* Text query validates the type parameter to prevent undefined behavior


* racktest driver better handles fragments and redirection to urls that
  include fragments
* Don't error when attempting to get XPath location of a shadow element
* Missing readonly? added to Node::Simple
* Selenium version detection when loaded via alternate method [Joel
* Connection count issue if REQUEST_URI value changed by app [Blake
* Maintain URI fragment when redirecting in rack-test driver
* Text query error message [Wojciech Wntrzak]
* Checking a checkbox/radio button with allow_label_click now works if
  there are multiple labels (Issue #2421)
* drop with Pathname (Issue #2424)[Máximo Mussini]

Revision 1.24 / (download) - annotate - [select for diffs], Mon Sep 14 15:22:55 2020 UTC (3 years, 5 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

www/ruby-capybara: update to 3.33.0

Update ruby-capybara package to 3.3.0.

# Version 3.33.0
Release date: 2020-06-21

### Added

* Block passed to `within_session` now receives the new and old session
* Support for aria-role button when enabled [Seiei Miyagi]
* Support for aria-role link when enabled
* Support for `validation_message` filter with :field and :fillable_field selectors

### Changed

* Ruby 2.5.0+ is now required
* Deprecated direct manupulation of the driver and server registries

### Fixed

* Ruby 2.7 warning in minitest `assert_text` [Eileen M. Uchitelle]

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jun 7 15:18:39 2020 UTC (3 years, 8 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.22: +5 -6 lines
Diff to previous 1.22 (colored)

www/ruby-capybara: update to 3.32.2

Update ruby-capybara to 3.32.2.

Changes are too many to write here, please refer file.

Revision 1.22 / (download) - annotate - [select for diffs], Fri May 22 00:49:48 2020 UTC (3 years, 9 months ago) by taca
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

www/ruby-capybara: drop ruby24.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 15 06:11:32 2019 UTC (4 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

*: remove references to ruby 2.3

Revision 1.20 / (download) - annotate - [select for diffs], Sun Feb 3 13:45:07 2019 UTC (5 years ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Allow Ruby 2.6 to build.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Dec 17 15:12:50 2018 UTC (5 years, 2 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)

www/ruby-capybara: update to 3.12.0

# Version 3.12.0
Release date: 2018-11-28

### Added

* Support Ruby 2.6 endless range in Result#[] and query `:between` option
* Pre-registered headless firefox driver :selenium_headless [Andrew Havens]
* Selenium driver now defaults to clearing `sessionStorage` and `localStorage`. To disable pass `clear_local_storage: false` and/or `clear_session_storage: false` when creating Capybara::Selenium::Driver instance in your driver registration

### Fixed

* Raise error if only :x or :y are passed as an offset to click methods

### Removed

* Support for RSpec < 3.5

# Version 3.11.1
Release date: 2018-11-16


* Fixed :link_or_button XPath generation when it has had an expression filter added

# Version 3.11.0
Release date: 2018-11-14

### Added

* Ability for node filters to set detailed error messages
* `Capybara::HTML` Will use `nokogumbo` for HTML parsing if installed
* `Selector#locator_filter` added to allow for dynamic locator in selectors

### Fixed

* Node filters are evaluated in the context of the Selector they are used in to ensure the correct options are used

# Version 3.10.1
Release date: 2018-11-03

### Fixed

* Fix `aria-label` and `test_id` matching for `link_or_button` selector type - Issue #2125
* Fixed crash in element path creation for matcher failure messages - Issue #2120

# Version 3.10.0
Release date: 2018-10-23

### Added

* :class filter can now check for class names starting with !
* Selector `xpath`/`css` expression definitions will get filter names from block parameters if not explicitly provided
* `any_of_selectors` assertions and matchers to complement `all_of_selectors` and `none_of_selectors`

### Fixed

* Selector `css` expression definiton declared filters now work again
* Cleaned up warnings [Yuji Yaginuma]
* Workaround installation of rspec matcher proxies under jruby by reverting to the old solution not using prepend, so jruby bugs are not hit - Issue #2115

# Version 3.9.0
Release date: 2018-10-03

### Added

* Selenium with Chrome removes all cookies at session reset instead of just cookies from current domain if possible
* Support for Regexp for system :id and :class filters where possible
* `using_session` now accepts a session object as well as the name of the session for users who  manually manage sessions
* The `:field` selector will now find `type = "hidden"` fields if the `type: "hidden"` filter option is provided

Revision 1.18 / (download) - annotate - [select for diffs], Mon Sep 24 16:03:42 2018 UTC (5 years, 4 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

www/ruby-capybara: update to 3.8.1

# Version 3.8.1
Release date: 2018-09-22

### Fixed

* Filling in of date fields with a string when using selenium chrome
  regression [Micah Geisel]

Revision 1.17 / (download) - annotate - [select for diffs], Sun Sep 23 16:50:34 2018 UTC (5 years, 5 months ago) by taca
Branch: MAIN
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored)

www/ruby-capybara: update to 3.8.0

# Version 3.8.0
Release date: 2018-09-20

### Added

* Workaround gecodriver 0.22 issue with undefined pause durations
* :element selector ignores XML namespaces

### Fixed

* Added Errno::ECONNRESET to the errors which will allows https server detection

# Version 3.7.2
Release date: 2018-09-12

### Fixed

* Fix MatchQuery based matchers when used on a root element found using any type of parent/ancestor query - Issue #2097

* Fix Chrome/FF HTML5 drag simulation for elements (a, img) which default to draggable - Issue #2098

# Version 3.7.1
Release date: 2018-09-05

### Fixed

* Restored ability to pass symbol as the CSS selector when calling `has_css?`/`have_css`/etc - Issue #2093

# Version 3.7.0
Release date: 2018-09-02

### Added

* `Capybara.disable_animation` can be set to a CSS selector to identify which elements will have animation disabled [Michael Glass]
* `Capybara.default_normalize_ws` option which sets whether or not text predicates and matchers (`has_text?`, `has_content?`, `assert_text`, etc) use `normalize_ws` option by default. Defaults to false. [Stegalin Ivan]
* Selector based predicates, matchers, and finders now support the `:normalize_ws` option for the `:text`/`:exact_text` filters. Defaults to the `Capybara.default_normalize_ws`setting above.
* Element `choose`/`check`/`uncheck`/`attach_file`/`fill_in` can now operate on the element they're called on or a descendant if no locator is passed.

### Fixed

* All CSS styles applied by the `Element#attach_file` `:make_visible` option will now have `!important` priority set to ensure they override any other specified style.
* Firefox file inputs are only manually cleared when necessary.

# Version 3.6.0
Release date: 2018-08-14

### Added

* Workaround geckodriver/firefox send_keys issues as much as possible using the Selenium actions API
* Workaround lack of HTML5 native drag and drop events when using Selenium driver with Chrome and FF >= 62
* `Capybara.predicates_wait` option which sets whether or not Capybaras matcher predicate methods (`has_css?`, `has_selector?`, `has_text?`, etc.) default to using waiting/retrying behavior (defaults to true)

# Version 3.5.1
Release date: 2018-08-03

### Fixed

* Fixed misspelled method name `refute_matches_elector` => `refute_matches_selector`

# Version 3.5.0
Release date: 2018-08-01

### Added

* text predicates and matchers (`has_text?`, `has_content?`, `assert_text`, etc) now support a `normalize_ws` option

### Fixed

* `attach_file` with Selenium and local Firefox 62+ now correctly generates only one change event when attaching multiple files

# Version 3.4.2
Release date: 2018-07-24

### Fixed

* `match_xxx` selectors and `matches_xxx?` predicates work correctly with elements found using a sibling selector - Issue #2073

# Version 3.4.1
Release date: 2018-07-20

### Fixed

* `Session#evaluate_script` now strips the script in `Session` rather than only in the Selenium driver

# Version 3.4.0
Release date: 2018-07-19

### Fixed

* Make selenium driver :backspace clear stategy work even if caret location is in middle of field content [Champier Cyril]
* Selenium issue with fieldset nested in disabled fieldset not being considered disabled
* `Session#evaluate_script` and `Element#evaluate_script` now strip leading/trailing whitespace from scripts [Ian Lesperance]

### Added

* Work around Selenium lack of support for `file_detector` with remote geckodriver
* `#within_frame` locator is optional when only one frame exists
* `Capybara.test_id` option that allows for matching the Capybara provided selector types on an arbitrary attribute
  (defaults to nil), set to your test id attribute ('data-test-id, etc) if using test id attributes in your project

# Version 3.3.1
Release date: 2018-06-27

### Fixed

* `selenium-webdriver` version check [ahorek]
* Selenium driver correctly responds to `disabled?` for fieldset elements - Issue #2059 [Thomas Walpole]

# Version 3.3.0
Release date: 2018-06-25

### Added

* RackTest driver now handles 307/308 redirects
* `execute_async_script` can now be called on elements to run the JS in the context of the element
* `:download` filter option on `:link' selector
* `Window#fullscreen`
* `Element#style` and associated matchers

### Changed

* Minimum "supported" `selenium-webdriver` is raised to 3.5.0 (but you really should be using newer than that)

### Fixes

* Selenium driver with Firefox workaround for clicking on table row -
* :class and :id filters applied to CSS based selectors now correctly handle the CSS comma
* Selenium driver handles namespaces when generating an elements `#path` - Issue #2048

# Version 3.2.1
Release date: 2018-06-04

### Fixes

* Only split CSS selectors when :class or :id options are given. Restores 3.1.1 functionality for now but the underlying issue
  will require a larger fix, hopefully coming soon. - Issue #2044 [Thomas Walpole]

# Version 3.2.0
Release date: 2018-06-01

### Changed

* Ruby 2.3.0+ is now required
* `ElementNotFound` errors raised in selector filters are interpreted as non-matches

### Added

* New global configuration `default_set_options` used in `Capybara::Node::Element#set` as default `options` hash [Champier Cyril]
* `execute_script` and `evaluate_script` can now be called on elements to run the JS in the context of the element [Thomas Walpole]
* Filters in custom selectors now support a `matcher` Regexp to handle multiple filter options [Thomas Walpole]
* `:element` selector type which will match on any attribute (other than the reserved names) passed as a filter option [Thomas Walpole]
* `:class` filter option now supports preceding class names with `!` to indicate not having that class [Thomas Walpole]
* `:class` and `:id` filter options now accept `XPath::Expression` objects to allow for more flexibility in matching [Thomas Walpole]
* `Capybara.disable_animation` setting which triggers loading of a middleware that attempts to disable animations in pages.
  This is very much a beta feature and may change/disappear in the future. [Thomas Walpole]

# Version 3.1.1
Release date: 2018-05-25

### Fixes

* Ensure keystrokes are sent when setting time/date fields to a string with the Selenium driver [Thomas Walpole]

# Version 3.1.0
Release date: 2018-05-10

### Added

* Support for using `select` with text inputs associated with a datalist element
* `type` filter on `:button` selector
* Support for server operating in https mode
* Selenium driver now uses JS to fill_in/set date and time fields when passed date or time objects [Aleksei Gusev, Thomas Walpole]

Revision 1.16 / (download) - annotate - [select for diffs], Sun May 6 02:24:54 2018 UTC (5 years, 9 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.15: +6 -6 lines
Diff to previous 1.15 (colored)

www/ruby-capybara: update to 3.0.3

# Version 3.0.3
Release date: 2018-04-30

### Fixes

* Issue in `check` where the locator string could not be omitted
* Selenium browser type detection when using remote [Ian Ker-Seymer]
* Potential hang when waiting for requests to complete [Chris Zetter]

# Version 3.0.2
Release date: 2018-04-13

### Fixes

* Fix expression filter descriptions in some selector failure messages
* Fix compounding of negated matechers - Issue #2010

# Version 3.0.1
Release date: 2018-04-06

### Changed

* Restored ability for `Capybara.server=` to accept a proc which was accidentally removed in 3.0.0

# Version 3.0.0
Release date: 2018-04-05

### Changed

* Selenium driver only closes extra windows for browsers where that is known to work (Firefox, Chrome)
* "threadsafe" mode is no longer considered beta

### Fixes

* Multiple file attach_file with Firefox
* Use Puma::Server directly rather than Rack::Handler::Puma so signal handlers don't prevent test quitting

# Version 3.0.0.rc2
Release date: 2018-03-23

### Changed

* Visibile text whitespace is no longer fully normalized in favor of being more in line with the WebDriver spec for visible text
* Drivers are expected to close extra windows when resetting the session
* Selenium driver supports Date/Time when filling in date/time/datetime-local inputs
* `current_url` returns the url for the top level browsing context
* `title` returns the title for the top level browsing context

### Added

* `Driver#frame_url` returns the url for the current frame
* `Driver#frame_title` returns the title for the current frame

# Version 3.0.0.rc1
Release date: 2018-03-02

### Added
* Support for libraries wrapping Capybara elements and providing a `#to_capybara_node` method

### Changed

* `first` now raises ElementNotFound, by default, instead of returning nil when no matches are found  - Issue #1507
* 'all' now waits for at least one matching element by default.  Pass `wait: false` if you want the previous
  behavior where an empty result would be returned immediately if no matching elements exist yet.
* ArgumentError raised if extra parameters passed to selector queries

### Removed

* Ruby < 2.2.2 support
* `Capybara.exact_options` no longer exists. Just use `exact: true` on relevant actions/finders if necessary.
* All previously deprecated methods removed
* RSpec 2.x support
* selenium-webdriver 2.x support
* Nokogiri < 1.8 support
* `field_labeled` alias for `find_field`

Revision 1.15 / (download) - annotate - [select for diffs], Sat Mar 17 14:26:22 2018 UTC (5 years, 11 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

www/ruby-capybara: update to 2.18.0

#Version 2.18.0
Release date: 2018-02-12

### Fixed

* Firefox/geckodriver setting of contenteditable childs contents
* Ignore Selenium::WebDriver::Error::SessionNotCreatedError when quitting driver [Tim Connor]

### Removed

* Headless chrome modal JS injection that is no longer needed for Chrome 64+/chromedriver 2.35+

# Version 2.17.0
Release date: 2018-01-02

### Added

* `have_all_of_selectors`, `have_none_of_selectors` RSpec matchers for parity with minitest assertions [Thomas Walpole]

### Fixed

* Allow xpath 3.x gem [Thomas Walpole]
* Issue when drivers returned nil for `current_path` and a matcher was used with a Regexp [Thomas Walpole]
* Error message when visible element not found, but non-visible was [Andy Klimczak]

# Version 2.16.1
Release date: 2017-11-20

### Fixed

* Fix rack_test driver for rack_test 0.7.1/0.8.0 [Thomas Walpole]
* `accept_prompt` response text can contain quotes when using selenium with headless chrome [Thomas Walpole]

# Version 2.16.0
Release date: 2017-11-13

### Added

* Attempt to move element into view when selenium doesn't correctly do it - See PR #1917 [Thomas Walpole]
* `current_path` matchers will now autodetect path vs url based on string to be matched. Deprecates
  `:only_path` in favor of `:ignore_query` option [Thomas Walpole]
* Session#evaluate_async_script [Thomas Walpole]

### Fixed

* Default prompt value when using headless Chrome works correctly [Thomas Walpole]
* Support new modal error returned by selenium-webdriver 3.7 for W3C drivers [Thomas Walpole]
* Calling `respond_to?` on the object passed to `Capybara.configure` block - Issue #1935

# Version 2.15.4
Release date: 2017-10-07

### Fixed
*  Visiting an absolute URL shouldn't overwrite the port when no server or always_include_port=false - Issue #1921

# Version 2.15.3
Release date: 2017-10-03

### Fixed
*  Visiting '/' when Capybara.app_host has a trailing '/' - Issue #1918 [Thomas Walpole]

# Version 2.15.2
Release date: 2017-10-02

### Fixed

*  Include within scope description in element not found/ambiguous errors [Thomas Walpole]
*  Raise error when no activation block is passed to modal methods if using headless chrome [Thomas Walpole]
*  Don't retry element access when inspecting [Ivan Neverov]
*  Don't override a specified port (even if it is default port) in visited url [Thomas Walpole]

Revision 1.14 / (download) - annotate - [select for diffs], Sat Sep 16 19:27:25 2017 UTC (6 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Reset maintainer

Revision 1.13 / (download) - annotate - [select for diffs], Sun Sep 10 16:14:59 2017 UTC (6 years, 5 months ago) by taca
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Update ruby-capybara to 2.15.1.

# Version 2.15.1

Release date: 2017-08-04

### Fixed

*  `attach_file` with no extension/MIME type when using the `:rack_test` driver
   [Thomas Walpole]

# Version 2.15.0

Release date: 2017-08-04

### Added

*  `sibling` and `ancestor` finders added [Thomas Walpole]
*  Added ability to pass options to registered servers when setting
*  Added basic built-in driver registrations `:selenium_chrome` and
   `:selenium_chrome_headless` [Thomas Walpole]
*  Add `and_then` to Capybara RSpec matchers which behaves like the previous
   `and` compounder. [Thomas Walpole]
*  Compound RSpec expectations with Capybara matchers now run both matchers
   inside a retry loop rather than waiting for one to pass/fail before
   checking the second.  Will make `#or` more performant and confirm both
   conditions are true "simultaneously" for `and`.  [Thomas Walpole] If you
   still want the
*  Default filter values are now included in error descriptions [Thomas Walpole]
*  Add `Session#refresh` [Thomas Walpole]
*  Loosened restrictions on where `Session#within_window` can be called from
   [Thomas Walpole]
*  Switched from `mime-types` dependency to `mini_mime` [Jason Frey]

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jul 30 22:32:27 2017 UTC (6 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Switch github HOMEPAGEs to https.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 21 14:31:02 2017 UTC (6 years, 8 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Update ruby-capybara to 2.14.3.

# Version 2.14.3

Release date: 2017-06-15

### Fixed

* Minitest assertions now raise the correct error type - Issue #1879
  [Thomas Walpole]
* Improve flexibility of detecting Chrome headless mode [Thomas Walpole]

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jun 10 15:59:37 2017 UTC (6 years, 8 months ago) by taca
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Update ruby-capybara to 2.14.2.

* pkgsrc chagnge: depends on ruby-rack14 instead of ruby-rack16.

# Version 2.14.2

Release date: 2017-06-09

### Fixed

* Workaround for system modals when using headless Chrome now works if the
  page changes

# Version 2.14.1

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

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jun 4 15:08:16 2017 UTC (6 years, 8 months ago) by taca
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Update ruby-capybara to 2.14.0.

pkgsrc change: depends on ruby-rack16 instead of ruby-rack.

# Version 2.14.0

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

Revision 1.8 / (download) - annotate - [select for diffs], Sat Apr 22 16:57:01 2017 UTC (6 years, 10 months ago) by taca
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Update ruby-capybara to 2.3.0.

#Version 2.13.0
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]

### Foxed
* Editing of content editable children with selenium

#Version 2.12.1
Release date: 2017-02-16

### Fixed
*  Disable lazy Capybara::Results evaluation for JRuby due to ongoing issues

#Version 2.12.0
Release date: 2017-01-22

### Added

* Session#switch_to_frame for manually handling frame switching - Issue #1365 [Thomas Walpole]
* 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
*  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]

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]

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]

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 18 15:42:12 2016 UTC (7 years, 4 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Update ruby-capybara to 2.10.1.

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]

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]
* 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]

#Version 2.9.2
Release date: 2016-09-29

### Fixed
* :label built-in selector finds nested label/control by control id if the label has no 'for' attribute [Thomas Walpole]
* Warning issued if an unknown selector type is specified

#Version 2.9.1
Release date: 2016-09-23

### Fixed
* allow_label_click option did not work in some cases with Poltergeist - Issue #1762 [Thomas Walpole]
* matches_selector? should have access to all of a selectors options except the count options [Thomas Walpole]

#Version 2.9.0
Release date: 2016-09-19

### Fixed
* Issue with rack-test driver and obselete mime-types when using `#attach_file` - Issue #1756 [Thomas Walpole]

### Added
* `:class` option to many of the built-in selectors [Thomas Walpole]
* Removed need to specify value when creating `:boolean` filter type in custom selectors [Thomas Walpole]
* Filters can now be implemented through the XPath/CSS expressions in custom selectors [Thomas Walpole]
* `Element#matches_xpath?` and `Element#matches_css?` [Thomas Walpole]

#Version 2.8.1
Release data: 2016-08-25

* Fixed error message from have_text when text is not found but contains regex special characters [Ryunosuke Sato]
* Warn when :exact option is passed that has no effect [Thomas Walpole]

# Version 2.8.0
Release date: 2016-08-16

### Fixed
* Issue with modals present when closing the page using selenium - Issue #1696 [Jonas Nicklas, Thomas Walpole]
* Server errors raised in test code have the cause set to an explanatory exception
  in rubies that support Exception#cause rather than a confusing ExpectationNotMet - Issue #1719 [Thomas Walpole]
* background/given/given! RSoec aliases will work if RSpec config.shared_context_metadata_behavior == :apply_to_host_groups [Thomas Walpole]
* Fixed setting of unexpectedAlertError now that Selenium will be freezing the Capabilities::DEFAULTS [Thomas Walpole]

### Added
* 'check', 'uncheck', and 'choose' can now optionally click the associated label if the checkbox/radio button is not visible [Thomas Walpole]
* Raise error if Capybara.app_host/default_host are specified incorrectly [Thomas Walpole]
* Capybara::Selector::FilterSet allows for sharing filter definitions between selectors [Thomas Walpole]
* Remove need to pass nil locator in most node actions when locator is not needed [Thomas Walpole]
* New frames API for drivers - Issue #1365 [Thomas Walpole]
* Deprecated Element#parent in favor of Element#query_scope to better indicate what it is [Thomas Walpole]
* Improved error messages for have_text matcher [Alex Chaffee, Thomas Walpole]
* The `:with` option for the field selector now accepts a regular expression for matching the field value [Uwe Kubosch]
* Support matching on aria-label attribute when finding fields/links/buttons - Issue #1528 [Thomas Walpole]
* Optimize Capybara::Result to only apply fields as necessary in common use-case of `.all[idx]` [Thomas Walpole]

#Version 2.7.1
Release date: 2016-05-01

### Fixed
* Issue where within_Frame would fail with Selenium if the frame is removed from within itself [Thomas Walpole]
* Reset sessions in reverse order so sessions with active servers are reset last - Issue #1692 [Jonas Nicklas, Thomas Walpole]

# Version 2.7.0
Release date: 2016-04-07

### Fixed
* Element#visible?/checked?/disabled?/selected? Now return boolean
  as expected when using the rack_test driver [Thomas Walpole]
* The rack_test driver now considers \<input type="hidden"> elements as non-visible [Thomas Walpole]
* A nil locator passed to the built-in html type selectors now behaves consistently, and finds elements of the expected types [Thomas Walpole]
* Capybara::Server now searches for available ports on the same interface it binds to [Aaron Stone]
* Selenium Driver handles system modals that appear when page is unloading [Thomas Walpole]
* Warning output if unused parameters are passed to a selector query [Thomas Walpole]

### Added
* Capybara now waits for requests to Capybaras server to complete while restting the session [John Hawthorn, Thomas Walpole]
* Capybara.reuse_server option to allow disabling of sharing server instance between sessions [Thomas Walpole]
* :multiple filter added to relevant selectors [Thomas Walpole]
* Provided server registrations for :webrick and :puma. Capybara.server = :puma for testing with Rails 5 [Thomas Walpole]
* Deprecate passing a block to Capybara::server user Capybara::register_server instead [Thomas Walpole]
* :option selector supports :selected and :disabled filters [Thomas Walpole]
* Element#matches_selector? and associated matchers (match_selector, match_css, etc) for comparing an element to a selector [Thomas Walpole]
* Deprecated Driver#browser_initialized? - Driver#reset! is required to be synchronous [Jonas Nicklas, Thomas Walpole]
* Deprecated Capybara.save_and_open_page_path in favor of Capybara.save_path with slightly different behavior when using relative paths with
  save_page/save_screenshot [Thomas Walpole]
* :label selector [Thomas Walpole]

Revision 1.6 / (download) - annotate - [select for diffs], Tue Mar 15 16:02:46 2016 UTC (7 years, 11 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Update ruby-capybara to 2.6.2.

#Version 2.6.2
Relase date: 2016-01-27

### Fixed
* support for more than just addressable 2.4.0 [Thomas Walpole]

# Version 2.6.1
Release date: 2016-01-27

### Fixed
* Add missing require for addressable [Jorge Bejar]

# Version 2.6.0
Relase date: 2016-01-17

### Fixed
* Fixed path escaping issue with current_path matchers [Tom Walpole, Luke Rollans] (Issue #1611)
* Fixed circular require [David Rodríguez]
* Capybara::RackTest::Form no longer overrides Object#method [David Rodriguez]
* options and with_options filter for :select selector have more intuitive visibility behavior [Nathan]
* Test for nested modal API method support [Tom Walpole]

### Added
* Capybara.modify_selector [Tom Walpole]
* xfeature and ffeature aliases added when using RSpec [Filip Bartuzi]
* Selenium driver supports a :clear option to #set to handle different strategies for clearing a field [Tom Walpole]
* Support the use of rack 2.0 with the rack_test driver [Travis Grathwell, Tom Walpole]
* Disabled option for default selectors now supports true, false, or :all [Jillian Rosile, Tom Walpole]
* Modal API methods now default wait time to Capybara.max_default_wait_time [Tom Walpole]

Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 13 15:27:55 2015 UTC (8 years, 5 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Update ruby-capybara to 2.5.0.

# Version 2.5.0
Release date: 2015-08-25

### Fixed
* Error message now raised correctly when invalid options passed to 'have_text'/'have_content' [Tom Walpole]
* Rack-test driver correctly gets document title when elements on the page have nested title elements (SVG) [Tom Walpole]
* 'save_page' no longer errors when using Capybara.asset_host if the page has no \<head> element [Travis Grathwell]
* rack-test driver will ignore clicks on links with href starting with '#' or 'javascript:'

### Added
* has_current_path? and associated asserts/matchers added [Tom Walpole]
* Implement Node#path in selenium driver [Soutaro Matsumoto]
* 'using_session' is now nestable [Tom Walpole]
* 'switch_to_window' will now use waiting behavior for a matching window to appear [Tom Walpole]
* Capybara.default_wait_time deprecated in favor of Capybara.default_max_wait_time to more clearly explain its purpose [Paul Pettengill]
* Warning when attempting to select a disabled option
* Capybara matchers are now available in RSpec view specs by default [Joshua Clayton]
* 'have_link' and 'click_link' now accept Regexp for href matching [Yaniv Savir]
* 'find_all' as an alias of 'all' due to collision with RSpec
* Capybara.wait_on_first_by_default setting (default is false)
  If set to true 'first' will use Capybaras waiting behavior to wait for at least one element to appear by default
* Capybara waiting behavior uses the monotonic clock if supported to ease restrictions on freezing time in tests [Dmitry Maksyoma, Tom Walpole]
* Capybara.server_errors setting that allows to configure what type of errors will be raised from the server thread [Tom Walpole]
* Node#send_keys to allow for sending keypresses directly to elements [Tom Walpole]
* 'formmethod' attribute support in RackTest driver [Emilia Andrzejewska]
* Clear field using backspaces in Selenium driver by using `:fill_options => { :clear => :backspace }` [Joe Lencioni]

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jun 11 17:33:54 2015 UTC (8 years, 8 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.3: +1 -3 lines
Diff to previous 1.3 (colored)

Allow this package build on Ruby 2.2.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 5 15:27:32 2015 UTC (9 years ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Update ruby-capybara to 2.4.4.

#Version 2.4.4
Release data: 2014-10-13

* Test for visit behavior updated [Phil Baker]
* Removed concurrency prevention in favor of a note in the README - due to load order issues

# Version 2.4.3
Relase date: 2014-09-21

* Update concurrency prevention to match Rails 4.2 behavior

# Version 2.4.2
Release date: 2014-09-20

### Fixed
* Prevent concurrency issue when testing Rails app with default test environment [Thomas Walpole]
* Tags for windows API tests fixed [Dmitry Vorotilin]
* Documentation Fixes [Andrey Botalov]
* Always convert visit url to string, fixes issue with visit when always_include_port was enabled [Jake Goulding]
* Check correct rspec version before including ::RSpec::Matchers::Composable in Capybara RSpec matchers [Thomas Walpole, Justin Ko]

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jul 5 21:00:23 2014 UTC (9 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Dependencies don't support Ruby 1.8.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jul 4 12:27:25 2014 UTC (9 years, 7 months ago) by rodent
Branch: MAIN

Import ruby200-capybara-2.4.1 as www/ruby-capybara.

Capybara is an integration testing tool for rack based web applications. It
simulates how a user would interact with a website.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>