FormRequest: <input>'s default type must be text

This commit is contained in:
Νικόλαος-Διγενής Καραγιάννης 2015-11-13 18:05:07 +02:00
parent 7a438a51b7
commit 2d25eab0df
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ def _get_inputs(form, formdata, dont_click, clickdata, response):
inputs = form.xpath('descendant::textarea'
'|descendant::select'
'|descendant::input[@type['
'|descendant::input[not(@type) or @type['
' translate(., "SUBMIT", "submit") != "submit"'
' and translate(., "IMAGE", "image") !="image"'
' and translate(., "RESET", "reset") != "reset"'