Keep It Simple, Stupid | |
PerlMonks |
Re^2: Win32::IEAutomation vs Win32::IE::Mechanizeby hanjie0 (Initiate) |
on May 27, 2006 at 18:55 UTC ( [id://552022]=note: print w/replies, xml ) | Need Help?? |
With Win32::IEAutomation, can I run a java script directly?
I have tried the following sentences:
use Win32::IEAutomation;
my $ie = Win32::IEAutomation->new( visible => 1);
$ie->gotoURL('http://www.google.com');
my $IE=$ie->getAgent();
$IE->{Document}->scripts->item($script_name);
But it does not work.
Or pls send your comments to hanjie@sina.com
Who can help me?
Thanks a lot.
In Section
Seekers of Perl Wisdom
|
|