<div id="loginArea"> <div id="loginMessage" class="groupMargin">Sign in with your a +ccount</div> <form method="post" id="Login" autocomplete="off" novalidate=" +novalidate" onkeypress="if (event && event.keyCode == 13) Log +in.submitLoginRequest();" action=""> <div id="formsAuthenticationArea"> <div id="userNameArea"> <input id="userNameInput" name="UserName" type="em +ail" value="" tabindex="1" class="text fullWidth" spellcheck="false" +placeholder="Username" autocomplete="off"> </div> <div id="passwordArea"> <input id="passwordInput" name="Password" type="p +assword" tabindex="2" class="text fullWidth" placeholder="Password" a +utocomplete="off"> </div> <div id="kmsiArea" style="display:none"> <input type="checkbox" name="Kmsi" id="kmsiInput" +value="true" tabindex="3"> <label for="kmsiInput">Keep me signed in</label> </div> <div id="submissionArea" class="submitMargin"> <span id="submitButton" class="submit" tabindex="4 +" onkeypress="if (event && event.keyCode == 32) Login.submitL +oginRequest();" onclick="return Login.submitLoginRequest();">Sign in< +/span> </div> </div> </form> </div>
my $mech = WWW::Mechanize->new(); $response = $mech->get($URL); $mech->submit_form( fields => { UserName => $username, Password => $password, },);
In reply to Re^2: Submitting Forms for .NET Sites Problem
by Charli
in thread Submitting Forms for .NET Sites Problem
by Charli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |