Open-source AI browser agent for Chrome and Firefox (monorepo) ðŸ§
JavaScript ai-agentai-agentsai-toolsbrowser-aibrowser-automationbrowser-extensionchrome-aichrome-devtoolschrome-extensionchrome-extensionsfirefox-addonfirefox-addonsfirefox-extensionfirefox-extensionsgemmagemma4minimaxoffline-aioffline-llmqwen
Give the installed WhatsApp harness its model stand-in in its own scope
Claude6331fb5b4938
diff --git a/test/quality/whatsapp-contact-mv3.mjs b/test/quality/whatsapp-contact-mv3.mjsindex e9192101f..396b3ad1e 100644--- a/test/quality/whatsapp-contact-mv3.mjs+++ b/test/quality/whatsapp-contact-mv3.mjs@@ -5,6 +5,10 @@ import os from 'node:os';import path from 'node:path';import { createHash } from 'node:crypto';import { chromium } from 'playwright';+import { fixedChoiceQuestion, fixtureFixedChoiceReply } from '../semantic-decision-stub.mjs';++// The questions a messaging page's own checks read its texts with.+const MESSAGING_TEXT_KINDS = ['message_control', 'message_field', 'message_author', 'message_status'];// Whole installed MV3. Native selectors come from the privacy-safe current// WhatsApp contact/header/drawer/message captures; all people, phones, bodies,@@ -539,9 +543,6 @@ for (const name of ['_nativeChatTerminalEvidence', '_completionSubmissionEvidenc};}import { cdpClient as ownedDiagnosticCdp } from './cdp/cdp-client.js';-import { fixedChoiceQuestion, fixtureFixedChoiceReply } from '../semantic-decision-stub.mjs';-// The questions a messaging page's own checks read its texts with.-const MESSAGING_TEXT_KINDS = ['message_control', 'message_field', 'message_author', 'message_status'];for (const [object, name, doneOnly] of [[agent, '_executeToolImpl', true], [agent, '_captureViewportProbe', false],[ownedDiagnosticCdp, 'attach', false], [ownedDiagnosticCdp, 'sendCommand', false]]) {const original = object[name];