Created
December 1, 2013 09:54
-
-
Save rblack/7730597 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" id="info-form" action="#"> | |
<input type="hidden" name="md" value="move"/> | |
<table> | |
<tbody> | |
<tr> | |
<td><input type="checkbox" name="test" value="12##48" checked="checked"/></td> | |
<td>Some value</td> | |
</tr> | |
<tr> | |
<td><input type="checkbox" name="test" value="15##25" checked="checked"/></td> | |
<td>Some value</td> | |
</tr> | |
<tr> | |
<th> | |
<button onclick="this.form.submit(); return false;">Submit</button> | |
</th> | |
</tr> | |
</tbody> | |
</table> | |
</form> | |
[01] GET http://localhost/ | |
[02] POST http://localhost/ | |
POST request | |
test <CheckboxValues {'12##48', '15##25'} for checkboxes name='test'> | |
md move | |
g.go('http://localhost/') | |
g.choose_form(xpath=".//form[@id='info-form']") | |
g.submit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment