Skip to content

An agentic browser harness: an AI side panel & orb in your own logged-in Chrome, Edge, Arc, Brave or even Firefox run by the agent/subscription you already use (Claude Code, Codex, Antigravity). Free, open source, no API key. Also an MCP server.

fix(actions): stop fillInput from returning the field's existing contents

Shahriaracca85e39077
diff --git a/lib/actions/page/fill-input.ts b/lib/actions/page/fill-input.ts
index bea4d40..57729fe 100644
--- a/lib/actions/page/fill-input.ts
+++ b/lib/actions/page/fill-input.ts
@@ -36,6 +36,6 @@ export const fillInput = defineAction({
el.dispatchEvent(new KeyboardEvent('keyup', enter));
if (notPrevented && !(el instanceof HTMLTextAreaElement)) el.closest('form')?.requestSubmit();
}
- return { element: describeElement(el), value: next };
+ return { element: describeElement(el), length: next.length, appended: !clear };
},
});