Back to Library
Advanced
Multi User Context Testing
Prompt
Generate Playwright test using two contexts to simulate two users interacting in real time.
Example Code
const a=await browser.newContext(); const b=await browser.newContext();
Quick Actions
PRO TIP
Paste this prompt as a comment in your .spec.ts file and let Copilot generate the test.