Filipin.eu

Željko Filipin's blog.
Home Blog Tags License

View on GitHub
13 September 2007

How to Scroll Internet Explorer with Watir

by Željko Filipin

This is another gem from Watir General Google group.

How to scroll Internet Explorer with Watir?

require 'watir'
browser = Watir::IE.start('http://www.google.com')
browser.link(:text, 'About Google').document.scrollintoview

scrollintoview.png

tags: code - ruby