WWW::Mechanize::Plugin::DOM::Location - Location object for the DOM plugin
Version 0.013
Each of these returns or sets the corresponding part of the URI. (Actually, href refers to the whole thing, not just a part.) If you set one of these, it tells the Mech object to go to another page.
href
Does what it says.
Replaces the current page in Mech's history with $new_uri, which it tells Mech to go and fetch.
$new_uri
Bug: This doesn't work properly on the first page. It simply adds to history.
WWW::Mechanize
WWW::Mechanize::Plugin::DOM
WWW::Mechanize::Plugin::DOM::Window
To install WWW::Mechanize::Plugin::JavaScript, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Mechanize::Plugin::JavaScript
CPAN shell
perl -MCPAN -e shell install WWW::Mechanize::Plugin::JavaScript
For more information on module installation, please visit the detailed CPAN module installation guide.