From ec23b553a245d3d57f428d03002ed77a785d300a Mon Sep 17 00:00:00 2001 From: Tianren Dong Date: Thu, 10 Sep 2026 09:31:19 -0400 Subject: Improve Chrome input reliability and release 0.15.49 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 094dfe6..a6774bc 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,12 @@ Second doctor run should show all checks passing. Tool parameters and gotchas are documented inline in Pi. +### Typing into rich editors + +`chrome_type` and `chrome_fill` use one native CDP `Input.insertText` operation for focused contenteditables. This avoids per-character delays for long text and preserves Unicode/newlines. Ordinary inputs and textareas retain individual key events. + +For an editor that needs a `keydown` for every character, pass `perCharacter:true`. Bulk insertion still uses Chrome's input system, but does not emit per-character key events or a clipboard `paste` event. Use `includeSnapshot:true` to verify the result; `chrome_fill` still honors `domFallback:false` when synthetic fallback is unwanted. + --- ## Safety model -- cgit v1.2.3