

def submit(self):
    '\n        Try to find element with ID "[FORM_ID]_submit" and click on it. If no\n        element doesn\'t exists it will call default behaviour - submiting of\n        form by pressing enter.\n        '
    elm_name = ('%s_submit' % self.get_attribute('id'))
    try:
        self.click(elm_name)
    except NoSuchElementException:
        super(Form, self).submit()

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