/*
* Get the whole specified range of text content of from the input field. * @param offset The offset from the cursor position where the range starts. Defaults to 0. * @param length The range length. Defaults to the end of the text.
*/
Promise<DOMString> getText([optional] offset, [optional] length);