

def fill_input_checkbox_single(self, value, skip_reset=False):
    elm = self.form_elm.get_elm(xpath=('//input[@type="checkbox"][@name="%s"]' % self.elm_name))
    if (bool(value) != elm.is_selected()):
        self._click_on_elm_or_his_ancestor(elm)

dataset/ETHPy150Open horejsek/python-webdriverwrapper/webdriverwrapper/forms.py FormElement.fill_input_checkbox_single/original