'If editing, set the value of a field.'

def set_field_val(self, field_display_name, field_value):

    selector = '{}    li.field    label:contains("{}")    +    input'.format(self.editor_selector, field_display_name)
    script = '$(arguments[0]).val(arguments[1]).change();'
    self.browser.execute_script(script, selector, field_value)
