test/htdocs/form_test.html in mechanize-0.4.2 vs test/htdocs/form_test.html in mechanize-0.4.3

- old
+ new

@@ -1,9 +1,9 @@ <html> <head><title>Page Title</title></head> <body> - <h1>Hello World!</h1> + <h1>Post Form 1</h1> <form name="post_form1" method="post" action="/form_post"> <table> <tr> <td>First Name</td> <td><input type="text" name="first_name" /></td> @@ -22,12 +22,17 @@ <tr> <td>Check this if you like ham:</td> <td><input type="checkbox" name="likes ham" /></td> </tr> </table><br /> + <select name="country"> + <option value="USA">USA</option> + <option value="CANADA">CANADA</option> + </select><br /> <input type="submit" value="Submit" /> </form> + <h1>Get Form 1</h1> <form name="get_form1" method="get" action="/form_post"> <table> <tr> <td>First Name</td> <td><input type="text" name="first_name" /></td> @@ -46,14 +51,16 @@ <tr> <td>Check this if you like ham:</td> <td><input type="checkbox" name="likes ham" /></td> </tr> </table><br /> + <input type="image" name="button" value="button" src="button.jpg" /> <input type="submit" value="Submit" /> </form> <!-- Get ant post to a form with a space in the name --> + <h1>Post Form 2</h1> <form name="post_form2" method="post" action="/form post"> <table> <tr> <td>First Name</td> <td><input type="text" name="first_name" /></td> @@ -74,10 +81,11 @@ <td><input type="checkbox" name="likes ham" /></td> </tr> </table><br /> <input type="submit" value="Submit" /> </form> + <h1>Get Form 2</h1> <form name="get_form2" method="get" action="/form post"> <table> <tr> <td>First Name</td> <td><input type="text" name="first_name" /></td> @@ -100,10 +108,11 @@ </table><br /> <input type="submit" value="Submit" /> </form> <!-- forms with parameters in the action --> + <h1>Post Form 3</h1> <form name="post_form3" method="post" action="/form_post?great day=yes&one=two"> <table> <tr> <td>First Name</td> <td><input type="text" name="first_name" /></td> @@ -124,9 +133,10 @@ <td><input type="checkbox" name="likes ham" /></td> </tr> </table><br /> <input type="submit" value="Submit" /> </form> + <h1>Get Form 3</h1> <form name="get_form3" method="get" action="/form_post?great day=yes&one=two"> <table> <tr> <td>First Name</td> <td><input type="text" name="first_name" /></td>