'Sets the text field with given label (display name) to the specified value, and presses Save.'

def set_field_value_and_save(self, label, value):

    elem = self.get_setting_element(label)
    elem.clear()
    elem.send_keys(value)
    elem.send_keys(Keys.TAB)
    self.save()
