def update_text(self, selector, new_value, by=By.CSS_SELECTOR,<EOL>timeout=settings.LARGE_TIMEOUT, retry=False):
if self.timeout_multiplier and timeout == settings.LARGE_TIMEOUT:<EOL><INDENT>timeout = self.__get_new_timeout(timeout)<EOL><DEDENT>if page_utils.is_xpath_selector(selector):<EOL><INDENT>by = By.XPATH<EOL><DEDENT>self.update_text_value(selector, new_value, by=by,<EOL>timeout=timeout, retry=retry)<EOL>
The shorter version of update_text_value(), which
            clears existing text and adds new text into the text field.
            We want to keep the old version for backward compatibility.