

def fill_out(self, data, prefix='', skip_reset=False):
    '\n        Fill out ``data`` by dictionary (key is name attribute of inputs). You\n        can pass normal Pythonic data and don\'t have to care about how to use\n        API of WebDriver.\n\n        By ``prefix`` you can specify prefix of all name attributes. For example\n        you can have inputs called ``client.name`` and ``client.surname`` -\n        then you will pass to ``prefix`` string ``"client."`` and in dictionary\n        just ``"name"``.\n\n        Option ``skip_reset`` is for skipping reset, so it can go faster. For\n        example for multiple selects it calls ``deselect_all`` first, but it need\n        to for every option check if it is selected and it is very slow for\n        really big multiple selects. If you know that it is not filled, you can\n        skip it and safe in some cases up to one minute! Also same with text\n        inputs, but first is called ``clear``.\n\n        Example:\n\n        .. code-block:: python\n\n            driver.get_elm(\'formid\').fill_out({\n                \'name\': \'Michael\',\n                \'surname\': \'Horejsek\',\n                \'age\': 24,\n                \'enabled\': True,\n                \'multibox\': [\'value1\', \'value2\']\n            }, prefix=\'user_\')\n\n        .. versionchanged:: 2.2\n            ``turbo`` renamed to ``skip_reset`` and used also for common elements\n            like text inputs or textareas.\n        '
    for (elm_name, value) in data.items():
        FormElement(self, (prefix + elm_name)).fill_out(value, skip_reset)

dataset/ETHPy150Open horejsek/python-webdriverwrapper/webdriverwrapper/forms.py Form.fill_out/original