code: def add_text(self, selector, new_value, by=By.CSS_SELECTOR,
                   timeout=settings.LARGE_TIMEOUT):
          
          if self.timeout_multiplier and timeout == settings.LARGE_TIMEOUT:
              timeout = self.__get_new_timeout(timeout)
          if page_utils.is_xpath_selector(selector):
              by = By.XPATH
          element = self.wait_for_element_visible(
              selector, by=by, timeout=timeout)
          self.__demo_mode_highlight_if_active(selector, by)
          if not self.demo_mode:
              self.__scroll_to_element(element)
          pre_action_url = self.driver.current_url
          try:
              if not new_value.endswith('\n'):
                  element.send_keys(new_value)
              else:
                  new_value = new_value[:-1]
                  element.send_keys(new_value)
                  element.send_keys(Keys.RETURN)
                  if settings.WAIT_FOR_RSC_ON_PAGE_LOADS:
                      self.wait_for_ready_state_complete()
          except (StaleElementReferenceException, ENI_Exception):
              self.wait_for_ready_state_complete()
              time.sleep(0.06)
              element = self.wait_for_element_visible(
                  selector, by=by, timeout=timeout)
              if not new_value.endswith('\n'):
                  element.send_keys(new_value)
              else:
                  new_value = new_value[:-1]
                  element.send_keys(new_value)
                  element.send_keys(Keys.RETURN)
                  if settings.WAIT_FOR_RSC_ON_PAGE_LOADS:
                      self.wait_for_ready_state_complete()
          except Exception:
              exc_message = self.__get_improved_exception_message()
              raise Exception(exc_message)
          if self.demo_mode:
              if self.driver.current_url != pre_action_url:
                  self.__demo_mode_pause_if_active()
              else:
                  self.__demo_mode_pause_if_active(tiny=True)
docs: The more-reliable version of driver.send_keys()
              Similar to update_text(), but won't clear the text field first.