def analyze_element(self):
        elms = self.form_elm.get_elms(name=self.elm_name)
        for elm in elms:
            elm_type = elm.get_attribute('type')
            if elm_type == 'hidden':
                continue
            return elm.tag_name, elm_type
        raise NoSuchElementException(_create_exception_msg(name=self.elm_name))
dataset/ETHPy150Open horejsek/python-webdriverwrapper/webdriverwrapper/forms.py/FormElement.analyze_element/original