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(agent): treat a typed Enter as a form submission

Shahriar90f5349ff4b4
diff --git a/mcp/src/agent/effects.ts b/mcp/src/agent/effects.ts
index e7c767f..6550fb7 100644
--- a/mcp/src/agent/effects.ts
+++ b/mcp/src/agent/effects.ts
@@ -3,7 +3,7 @@ export const SUBMIT_ACTION = 'page.submitForm';
export function submitsForm(action: string, input: unknown): boolean {
if (action === SUBMIT_ACTION) return true;
const args = (input ?? {}) as { pressEnter?: unknown; key?: unknown };
- if (action === 'page.fillInput') return args.pressEnter === true;
+ if (action === 'page.fillInput' || action === 'page.typeText') return args.pressEnter === true;
if (action === 'page.pressKey') return args.key === 'Enter';
return false;
}