We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
For earlier versions of playwright, the healdess browser mode should be set to false
await page.pdf({path: 'fullpage.pdf'});
const browser = await chromium.launch({ headless: false, executablePath: "/Applications/Google\ Chrome.app/Contents/.../Google\ CHrome" });
Emulation is set on the context level
const {devices} = require('playwright'); const iPhone = devices['iPhone 11 Pro Max landscape'] const browser = await chromium.launch({ headless: false}); const context = await browser.newContext({ ...iPhone, viewport: {width: 1280, height: 2014}, //overrides iphone settings videoPath: 'videos/' });