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