<div>Hi,</div>
<div>&nbsp;</div>
<div>I&#39;ve been reading the docs and examples and faq about www::mechanize, but I can&#39;t get past the login screen of the site I&#39;m trying to access.</div>
<div>&nbsp;</div>
<div>use WWW::Mechanize;<br>use Data::Dumper;<br>my $mech = WWW::Mechanize-&gt;new();<br>my $url = &#39;<a href="https://lmx.leads360.com/web/Login.aspx">https://lmx.leads360.com/web/Login.aspx</a>&#39;;<br>$mech-&gt;get( $url );<br>
$mech-&gt;credentials( &#39;jay, &#39;mypass&#39; );</div>
<div>$mech-&gt;set_visible( &#39;jay&#39;, &#39;mypass&#39; );</div>
<div>$mech-&gt;submit;</div>
<div>print $mech-&gt;content( format =&gt; &#39;text&#39; );<br></div>
<div>Is it because the page has so much javascript?&nbsp; It seems like the above should work.</div>
<div>&nbsp;</div>
<div>Do you see a blatant error?&nbsp; if so will you point me at it?</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Jay</div>