From: Phil Mcdonnell Date: 2010-05-27T14:29:21+09:00 Subject: Re: Scrape javascript content Darryl! You just made my day! This does work. I've been banging my head on the wall for a while here :) I had tried looking for the src tag too, but not with the full path (only the referential path in the html). Thank you! Darryl Brown wrote: > To click on this with Watir: > You can use: > > @browser.button(:src, 'https://online.americanexpress.com/myca/logon/ > us/shared/images/btn_login.gif').click > > > This was captured using the Webmetrics script recorder > http://www.webmetrics.com/products/script_recorder.html > It has a Watir compatible mode. You won't get a working > script out of it but it good for identifying objects. > > > Inspect Element using FireBug: > > > > > A nice helper tool for identify page object such as this Webmetrics > > Good luck, > Darryl -- Posted via http://www.ruby-forum.com/.