def _get_value_label(session_browser, field, value):
    """Get the label of an input field's value."""
    return session_browser.evaluate_script(
        '$("#id_%s option[value=%s]").html()' % (field, value)
    )