(page, label)
| 37 | } |
| 38 | |
| 39 | async function openRefreshMenu(page, label) { |
| 40 | if (await page.locator('#refresh0').isVisible().catch(() => false)) { |
| 41 | return; |
| 42 | } |
| 43 | await openOptionsMenuItem(page, 'optionsMenuRefresh', label); |
| 44 | await page.locator('#refresh0').waitFor({ state: 'visible', timeout: 15000 }); |
| 45 | } |
| 46 | |
| 47 | (async () => { |
| 48 | const browser = await chromium.launch({ headless: config.headless }); |
no test coverage detected