Ok never mind. It does work. I had the wrong object which didn’t have the method.
I don’t know if this is a bug, or if I don’t know what I am doing.
I’ve been trying methods like input.setSelectionRange, and all I get is function undefined.
The input is set to type=“text”.
Maybe there is something up with chromium?
I also tried createTextRange, and selectionStart/selectionEnd.