test(fill): cover caret positioning and clarify append behavior

This commit is contained in:
drakezhang
2026-09-07 15:56:13 +08:00
parent f2184e74c5
commit 321494d93f
2 changed files with 49 additions and 10 deletions
@@ -636,7 +636,9 @@ function defineBrowserOperations(deps: ToolDeps, register: DefinitionRegistrar):
session: SESSION_PARAM,
noClear: {
type: "boolean",
description: "Skip the default wipe-the-field-first pass (append instead).",
description:
"Append to the end of the existing value instead of clearing it. " +
"The tool moves the caret automatically; no prior click or selection is needed.",
},
},
output: {