This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const browser = await chromium.launch({ | |
| headless: false, | |
| }); | |
| const page = await browser.newPage(); | |
| const client = await page.context().newCDPSession(page); | |
| await client.send('DOM.enable'); | |
| await client.send('Accessibility.enable'); |