Exemplo n.º 1
0
    def fill_form(self, elm, data={}):
        """
        Fill form with given data

        :param elm: Form element
        :param data: Dictionary of data for the form. \
                Keys in the dictionary represent name \
                attributes of the form elements
        """
        form = Form(elm)
        form.fill_out(data)