await expect(async () => { const response = await page.goto('test'); expect(response.status()).toBe(200);}).toPass({ intervals: [1_000, 2_000, 10_000], timeout: 30_000,});
await page.route('**', async (route) => { setTimeout(() => { route.continue(); }, Math.floor(Math.random() * 1_000 + 5_000));});await thirdPartyFunctionExample();await page.unroute('**');