def click_and_wait_for_id_to_appear(context, elem_click, elem_wait, wait_time=MAX_WAIT_TIME):
 elem_click.click()
 return id_shown_with_wait(context, elem_wait, wait_time=wait_time)

def click_and_wait_for_id_to_appear ( context , elem_click , elem_wait , wait_time = MAX_WAIT_TIME ) : elem_click . click ( ) return id_shown_with_wait ( context , elem_wait , wait_time = wait_time )
click an element and then wait for another element to appear .