Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: web mechanize issue with javascript...

by dragonchild (Archbishop)
on May 01, 2006 at 03:43 UTC ( [id://546626]=note: print w/replies, xml ) Need Help??


in reply to web mechanize issue with javascript...

WWW::Mechanize doesn't do Javascript. Now, the IE Mechanize might because it's using OLE to actually run an IE instance. But, the WWW::Mechanize doesn't do JS. Of course, patches are always welcome.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re: web mechanize issue with javascript...

Replies are listed 'Best First'.
Re^2: web mechanize issue with javascript...
by bart (Canon) on May 01, 2006 at 08:06 UTC
    Yes, Win32::IE::Mechanize does do Javascript. It behaves a little oddly: code like document.write(...); includes both the original Javascript, as the generated result, in the "source". So it can't be a true compatible replacement for WWW::Mechanize... Once you take that behaviour into account, it works out very well.

    An obvious limitation is that it only works on Windows, and you need an install of MSIE. But, given the former, the latter comes as a given. ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://546626]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-04-20 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found