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 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
    • 🔄 Change Element#obscured? to only scroll when element out of viewport and then scroll to bottom instead of top

Previous changes from v7.0.0

    • Requires Selenium 4.0.0+
    • 💎 Requires Ruby 2.6+
    • Implement Window#minimize
    • Implement Window#full_screen