From: Phil Mcdonnell Date: 2010-05-21T01:14:09+09:00 Subject: Re: Scrape javascript content The other trick here is that this page is behind a login. Mechanize allows me to fill out the login form and holds onto the login credentials for me. Can harmony/celebrity/watir do this? > > The *really* interesting part is what does the Javascript do :-) with > (a potentially large) effort you may be able to "reverse-engineer" the > javascript and emulate manually in mechanize. I.e. if the javascript > builds a simple HTTP request, you may be able to send the same request > from mechanize (possibly) without much effort. How would one do this? I'm somewhat new to javascript as I usually don't do front end engineering. I see the below definition of this function in the HTML page. Any way I can sniff out what it's actually doing? I'm looking to figure out what the fireClick method displays. ... way down below...   -- Posted via http://www.ruby-forum.com/.