(page: Page)
| 13 | const DOC_SHOT_VIEWPORT = {width: 1440, height: 2400}; |
| 14 | |
| 15 | const getFirstFrame = async (page: Page): Promise<Frame | undefined> => { |
| 16 | const handle = await page.locator('iframe').first().elementHandle(); |
| 17 | return (await handle?.contentFrame()) ?? undefined; |
| 18 | }; |
| 19 | |
| 20 | const prepareFirstFrame = async (page: Page): Promise<void> => { |
| 21 | const iframe = page.locator('iframe').first(); |
no outgoing calls
no test coverage detected
searching dependent graphs…