CHANGES.md in watir-7.1.0 vs CHANGES.md in watir-7.2.0

- old
+ new

@@ -1,11 +1,26 @@ +### 7.2.0 (2022-12-22) + +* Implement Shadow DOM support (#953) +* Implement existing `Scroll#by` with Selenium Actions Class instead of JavaScript +* Implement `Scroll#from` to set origin points +* Implement `Scroll#to(:viewport)` for elements using Selenium Actions Class +* Fix bug for regex matching on single quotes (#957) +* Fix bug for unexpected whitespace in classes (#956) +* Fix bug for inferring Edge browser name from Capabilities parameter +* Allow starting `Browser` with `Watir::Capabilities` +* Allow starting `Browser` with just a `Hash` for generating a `Watir::Capabilities` +* Have `Capabilities` use `:options` to generate Selenium `Options` instance +* Deprecate allowing `:capabilities` argument in `Browser` constructor +* Require Ruby 2.7 and Selenium 4.2 + ### 7.1.0 (2021-11-15) * Add automatic scroll to `Element#click` with method parameters to ensure element is in viewport * Provide `:scroll_to` parameter for element methods implemented with `Actions` class (thanks osadasami #948, #949) * Allow `:scroll_to` parameter to accept `nil` argument to avoid automatic scrolling * Implement `Element#in_viewport?` -* Fix but where `Scroll#to` for `Browser` with `:center` argument did not scroll to center of page +* Fix bug where `Scroll#to` for `Browser` with `:center` argument did not scroll to center of page * Change `Element#obscured?` to only scroll when element out of viewport and then scroll to bottom instead of top ### 7.0.0 (2021-10-18) * Requires Selenium 4.0.0+