in reply to Re: How to benchmark with WWW::Mechanize::Firefox?
in thread How to benchmark with WWW::Mechanize::Firefox?
No frames!!!
Basically use something like
$load = $mech->repl->declare(<<'__JS'); function () { // start benchmark window.content.location.href = "http://www.perlmonks.org"; // wait till ready (can be tricky) // stop benchmark // return diff } __JS
and $load->() should load the page.
Cheers Rolf
|
|---|