'Handler for option tag inside a form'

def _handle_option_tag_inside_form(self, tag, tag_name, attrs):

    option_value = get_value_by_key(attrs, 'value')
    if option_value:
        self._select_option_values.add(option_value)
