sailortailorson has asked for the wisdom of the Perl Monks concerning the following question:
O Denizens of the Cloister of the Fruit of the Oyster,
Using LWP::UserAgent, when I look at the content of a page that has lots of Ajaxy stuff, I see the Javascript, but not the results of the Javascript.
In some cases, I need to see the final page, after all the Javascript has altered the page. Is there a way to get this from the U.A.?
For the present, I have switched over to using IE as driven by Win32::OLE, but if it is possible to do in LWP, or some other more Perlish way, I would rather do that.
Also (in a somewhat related question) I have searched CPAN for 'Greasemonkey' related scripts, but find nothing. Is anyone doing anything that simulates Greasemonkey for LWP scripts?
Just another Nabob of Nacre
Using LWP::UserAgent, when I look at the content of a page that has lots of Ajaxy stuff, I see the Javascript, but not the results of the Javascript.
In some cases, I need to see the final page, after all the Javascript has altered the page. Is there a way to get this from the U.A.?
For the present, I have switched over to using IE as driven by Win32::OLE, but if it is possible to do in LWP, or some other more Perlish way, I would rather do that.
Also (in a somewhat related question) I have searched CPAN for 'Greasemonkey' related scripts, but find nothing. Is anyone doing anything that simulates Greasemonkey for LWP scripts?
Just another Nabob of Nacre
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: LWP and Javascript
by Joost (Canon) on Mar 29, 2007 at 22:28 UTC | |
by sailortailorson (Scribe) on Mar 29, 2007 at 22:44 UTC | |
by Joost (Canon) on Mar 29, 2007 at 22:49 UTC | |
by ForgotPasswordAgain (Priest) on Mar 30, 2007 at 15:40 UTC |
Back to
Seekers of Perl Wisdom