Last active
January 27, 2026 01:21
-
-
Save minhphong306/c89586219c089f0ef4f935bce0963e9e to your computer and use it in GitHub Desktop.
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 { test } from '@playwright/test'; | |
| test.describe('Demo code', () => { | |
| // test.use({ storageState: 'storage.json' }); | |
| test.beforeEach(async ({ page, context }) => { | |
| // Chặn request tới SDK tiktok | |
| await context.route('xxx/events.js**', route => route.abort()); | |
| await page.goto("https://xxxx") | |
| }); | |
| test('T1', {}, async ({ page }) => { | |
| console.log("hihi"); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment