html.formfill

Module Contents

Classes

FormNotFound() Raised when no form can be found
DefaultErrorCreator(self,**kw)

Functions

fill_form(el,values,form_id=None,form_index=None)
fill_form_html(html,values,form_id=None,form_index=None)
_fill_form(el,values)
_takes_multiple(input)
_fill_multiple(input,value)
_check(el,check)
_select(el,select)
_fill_single(input,value)
_find_form(el,form_id=None,form_index=None)
_find_form_ids(el)
insert_errors(el,errors,form_id=None,form_index=None,error_class=”error”,error_creator=default_error_creator)
insert_errors_html(html,values,**kw)
_insert_error(el,error,error_class,error_creator)
_add_class(el,class_name)
_find_elements_for_name(form,name,error)
class FormNotFound

Raised when no form can be found

fill_form(el, values, form_id=None, form_index=None)
fill_form_html(html, values, form_id=None, form_index=None)
_fill_form(el, values)
_takes_multiple(input)
_fill_multiple(input, value)
_check(el, check)
_select(el, select)
_fill_single(input, value)
_find_form(el, form_id=None, form_index=None)
_find_form_ids(el)
class DefaultErrorCreator(**kw)
__init__(**kw)
__call__(el, is_block, message)
insert_errors(el, errors, form_id=None, form_index=None, error_class="error", error_creator=default_error_creator)
insert_errors_html(html, values, **kw)
_insert_error(el, error, error_class, error_creator)
_add_class(el, class_name)
_find_elements_for_name(form, name, error)