diff options
| author | Gael Pasgrimaud <gael@gawel.org> | 2011-08-23 00:57:48 +0200 |
|---|---|---|
| committer | Gael Pasgrimaud <gael@gawel.org> | 2011-08-23 00:57:48 +0200 |
| commit | d6c9c6498582258a1086099419adadaad6abae75 (patch) | |
| tree | c9d24e3c5e4b536f622f9867fa3fafc437194aa9 /tests/html/index.html | |
| parent | 723aa64ab5682be4f21410c221565b3ec9586f3b (diff) | |
| download | webtest-d6c9c6498582258a1086099419adadaad6abae75.tar.gz | |
Replace with_selenium by selenium
Add context manager
Add file upload support (for firefox)
Better handling for field.value setter
Module reorganisation
Add shell script to launch selenium tests
Diffstat (limited to 'tests/html/index.html')
| -rw-r--r-- | tests/html/index.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/html/index.html b/tests/html/index.html index f0f26ce..1e37a08 100644 --- a/tests/html/index.html +++ b/tests/html/index.html @@ -8,13 +8,18 @@ <h1>It Works!</h1> <div id="message"> </div> - <form action="/post" id="myform" method="post"> + <form action="/post" id="myform" method="post" enctype="multipart/form-data"> <div> <label for="mytext">Text</label> <input type="text" id="mytext" name="mytext" value="" /> </div> <div> + <label for="myfile">File</label> + <input type="file" id="myfile" name="myfile" value="" /> + </div> + + <div> <input type="radio" id="radio_true" name="myradio" value="true" /> <label for="radio_true">true</label> <input type="radio" id="radio_false" name="myradio" value="false" /> |
