On Wed, 2005-11-30 at 11:14 +0900, James Britt wrote: > AlexG wrote: > I do not think that Mechanize handles frames by default, but you could > teach it to grab the frame elements and parse the src attribute, then > construct the full URL. > > James Having done a bit of this in the past, there may be quite a bit more to it. You'll notice that the original page claims that your client doesn't support frames. Often, it'll base that decision off what user-agent header you're sending in the request. Yeah, that sucks. It's often guess and check with web pages these days. There are still a lot of sites back in the "Are you Navigator 4?" era. Very nice. You'll see JavaScript that makes you want to stop whatever you're working on. Bring on web services. I don't have the relevant codebase handy. Also, Mechanize looks great, but Net::HTTP has still worked better in practice for me-- it handles edge cases like these with slightly more panache. Cheers, Jim