Watir v7.1.0 Release Notes

Release Date: 2021-11-15 // about 1 year 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