From 0fec18bbc4cbc2382137e65c0440ad1149f89e75 Mon Sep 17 00:00:00 2001 From: Nick Shirokov Date: Sun, 1 Mar 2026 14:34:06 +0300 Subject: [PATCH] fix(web-test): unhighlight fillFields before Tab, not after MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move unhighlight() before the fill action in fillFields — prevents our overlay staying visible while platform focus moves to next field on Tab/Enter. Consistent with clickElement/selectValue pattern: highlight → wait → unhighlight → action. Co-Authored-By: Claude Opus 4.6 --- .claude/skills/web-test/scripts/browser.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/.claude/skills/web-test/scripts/browser.mjs b/.claude/skills/web-test/scripts/browser.mjs index 0979ef18..98cb76a4 100644 --- a/.claude/skills/web-test/scripts/browser.mjs +++ b/.claude/skills/web-test/scripts/browser.mjs @@ -1022,6 +1022,7 @@ export async function fillFields(fields) { div.style.cssText = 'position:fixed;pointer-events:none;z-index:999998;top:' + (r.y-4) + 'px;left:' + (r.x-4) + 'px;width:' + (r.width+8) + 'px;height:' + (r.height+8) + 'px;outline:3px solid #e74c3c;border-radius:4px;box-shadow:0 0 16px #e74c3c80'; }, { id: r.inputId }); await page.waitForTimeout(500); + await unhighlight(); } catch {} } try {