code: public void type(String value) {
          getDispatcher().beforeType(this, value);
          
          RemoteWebElement element = getElement();
          element.clear();
          element.sendKeys(value);
          if (Config.getBoolConfigProperty(ConfigProperty.ENABLE_GUI_LOGGING)) {
              logUIActions(UIActions.ENTERED, value);
          }
          
          getDispatcher().afterType(this, value);
      }
docs: The TextField type function
  
  It invokes SeLion session to handle the type action against the element.