March 2026
You can't update an input text value with keydown
It doesn't look like there's a way to update the value of an field with keydown events.
You can, of course, just update the value directly.
Simulating keyboard interactions needs to be done with something like puppeteer.
end of line