How to open a Playwright Chromium browser using a custom agent on mobile?
Hi Tim!
To open a Playwright Chromium browser using a custom agent on mobile, you can refer to the below command.
const context = await browser.newContext({ ...devices['iPhone 11'] }) // https://playwright.dev/docs/emulation#devices
For more details and code samples, check out the LambdaTest Playwright GitHub Repository.