Last active
August 22, 2025 06:24
-
-
Save T1ckbase/3b762018076f5068292d6ebdc914e77c to your computer and use it in GitHub Desktop.
Playwright
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
| import { chromium, devices } from 'playwright-core'; | |
| const browser = await chromium.launch({ | |
| headless: false, | |
| args: ['--disable-blink-features=AutomationControlled'], | |
| // @ts-ignore | |
| assistantMode: true, | |
| }); | |
| const context = await browser.newContext({ | |
| ...devices['Desktop Chrome'], | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment