add select_element_by_text to the element api
revet file mode changes