diff --git a/.claude/skills/web-test/scripts/browser.mjs b/.claude/skills/web-test/scripts/browser.mjs index f9cf6152..6cd5dc32 100644 --- a/.claude/skills/web-test/scripts/browser.mjs +++ b/.claude/skills/web-test/scripts/browser.mjs @@ -1939,6 +1939,7 @@ export async function clickElement(text, { dblclick, table, toggle, expand, time return { error: 'not_found', available: btns.map(el => norm(el.innerText)).filter(Boolean) }; })()`); if (btnResult?.error) throw new Error(`clickElement: "${text}" not found among confirmation buttons. Available: ${btnResult.available?.join(', ') || 'none'}`); + if (recorder) await page.waitForTimeout(1500); // show confirmation dialog to viewer during recording await page.mouse.click(btnResult.x, btnResult.y); await waitForStable(); const state = await getFormState();