def fill(self, value):
        parent_form = self._get_parent_form()
        if sys.version_info[0] > 2:
            parent_form.fields[self['name']] = value
        else:
            if not isinstance(value, unicode):
                value = value.decode('utf-8')
            parent_form.fields[self['name']] = value
dataset/ETHPy150Open cobrateam/splinter/splinter/driver/lxmldriver.py/LxmlControlElement.fill/original