in reply to www::mechanize returning a page to a particular frame
Like adrianh said at Re: www::mechanize returning a page to a particular frame, WWW::Mechanize must be taught to navigate to the frame you want. That may be accomplished by using the method follow_link with some appropriate parameters. Maybe it also can be done by hardcoding the URL to the frame as referenced in the parent page HTML. Just take a look at the HTML page returned by 'https://somesite.com/view' and realize where is the link to your frame.
A web browser does just that, downloading all the child files it needs to render the HTML document. While coding your navigation in a (Perl) program, you may be much more precise, getting only what you really need for the task at hand.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: www::mechanize returning a page to a particular frame
by nosbod (Scribe) on Jan 19, 2007 at 14:16 UTC | |
by pemungkah (Priest) on Jan 20, 2007 at 01:00 UTC |