Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <html> | |
| 2 <head> | |
| 3 <script type="text/javascript"> | |
| 4 // This testcase is having provision to submit form on completion of page load i tself. | |
|
vabr (Chromium)
2014/09/01 08:39:39
optional nit: I think you can drop this comment, b
Pritam Nikam
2014/09/01 10:53:54
Done.
| |
| 5 // It has been added to overcome the problem as for HTTPS test servers content:: ExecuteScript() | |
| 6 // API is failing to inject script on the fly. | |
| 7 window.onload = function() { | |
| 8 document.getElementById('username_separate').value = "user"; | |
| 9 document.getElementById('password_separate').value = "password"; | |
| 10 document.getElementById('submit_separate').click(); | |
| 11 } | |
| 12 </script> | |
| 13 <head> | |
| 14 <body> | |
| 15 <form method="POST" action="/password/done_and_separate_login_form.html" id="to_ separate"> | |
| 16 <input type="text" id="username_separate" name="username_separate"> | |
| 17 <input type="password" id="password_separate" name="password_separate"> | |
| 18 <input type="submit" id="submit_separate" name="submit_separate"> | |
| 19 </form> | |
| 20 </body> | |
| 21 </html> | |
| OLD | NEW |