Add select_option_by_text function to the ElementAPI