Page currentPg = project.getPageById("4711");
String textValue = currentPg.getTextValue("templateElementName");
currentPg.setTextValue("templateElementName", "htmlSourceCode");
currentPg.enterText("templateElementName", "text editor input");
currentPg.deleteTextValue("templateElementName");
List<TextElement> textElements = currentPg.getTextElements();
TextElement textElement = currentPg.getTextElement("templateElementName");
textElement.isAsciiText();