Watir v7.1.0 Release Notes
Release Date: 2021-11-15 // over 2 years ago-
- ➕ Add automatic scroll to
Element#click
with method parameters to ensure element is in viewport - Provide
:scroll_to
parameter for element methods implemented withActions
class (thanks osadasami #948, #949) - 👍 Allow
:scroll_to
parameter to acceptnil
argument to avoid automatic scrolling - Implement
Element#in_viewport?
- 🛠 Fix but where
Scroll#to
forBrowser
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
- ➕ Add automatic scroll to
Previous changes from v7.0.0
-
- Requires Selenium 4.0.0+
- 💎 Requires Ruby 2.6+
- Implement
Window#minimize
- Implement
Window#full_screen