def _convert_value_to_string(self, value):
        if isinstance(value, bool):
            value = int(value)
        elif value is None:
            value = ''
        return force_text(value)
dataset/ETHPy150Open horejsek/python-webdriverwrapper/webdriverwrapper/forms.py/FormElement._convert_value_to_string/original