def set_input_value(page, css, value):
 input_element = page.q(css=css).results[0]
 input_element.click()
 input_element.send_keys((Keys.CONTROL + 'a'))
 input_element.send_keys(value)
 return input_element

def set_input_value ( page , css , value ) : input_element = page . q ( css = css ) . results [ 0 ] input_element . click ( ) input_element . send_keys ( ( Keys . CONTROL + 'a' ) ) input_element . send_keys ( value ) return input_element
sets the text field with the given label to the specified value .