How to set the viewport size of palywright test ?
Hello Dipen,
You need to use the below line of code to set the viewport in Palywright test:
const context = await browser.newContext({
viewport: { width: 1280, height: 1024 }
});
How to set the viewport size of palywright test ?
Hello Dipen,
You need to use the below line of code to set the viewport in Palywright test:
const context = await browser.newContext({
viewport: { width: 1280, height: 1024 }
});