(page)
| 135 | await wait(1500); |
| 136 | } |
| 137 | const agentLabel = (page) => page.locator('.atlas-browser-ai-action').first().getAttribute('aria-label').catch(() => ''); |
| 138 | async function agentActive(page, timeout = 300000) { |
| 139 | return page.waitForFunction(() => /Agent active/.test(document.querySelector('.atlas-browser-ai-action')?.getAttribute('aria-label') ?? ''), null, { timeout }) |
| 140 | .then(() => true).catch(() => false); |
no outgoing calls
no test coverage detected