How to open a Playwright-chromium browser using a custom agent (mobile)
Hi Richard Hall,
To open a Playwright-chromium browser using a custom agent (mobile) enter the sample code below -
const context = await browser.newContext({ ...devices['iPhone 11'] })
References -