fix for type_text() and option_locators