Mechanize - Altering a WWW::Mechanize::Page document

Some web pages use Javascript to add a bit of crucial html to the DOM
after
the web page has been downloaded. Sometimes it’s trivial to make the
modifications to the page as Javascript would have done. Is there a way
for
Mechanize to reload or reparse the WWW::Mechanize::Page document with
the
user-made changes with the same context as the original page?