add method _find_element_by_partial_text and test function