How to scroll the Internet Explorer through watir script

269 views
Skip to first unread message

SHALINI GUPTA

unread,
Sep 6, 2007, 3:37:56 AM9/6/07
to watir-...@googlegroups.com
Hi all,
can any one please tell me how to scroll the internet sxplorer through watir script.
 
Regards,
Shalini Gupta

Charley Baker

unread,
Sep 6, 2007, 10:57:38 AM9/6/07
to watir-...@googlegroups.com

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

-Charley

Bret Pettichord

unread,
Sep 6, 2007, 1:37:30 PM9/6/07
to watir-...@googlegroups.com
Charley Baker wrote:
> require 'watir'
> browser = Watir::IE.start('http://www.google.com'
> <http://www.google.com%27>)

> browser.link(:text, 'About Google').document.scrollintoview
Cool. I didn't know that!

Bret

SHALINI GUPTA

unread,
Sep 7, 2007, 12:31:38 AM9/7/07
to watir-...@googlegroups.com
Thanks,
It works..Fine...

 
Reply all
Reply to author
Forward
0 new messages