When I run a new page, I must specify size of the viewport using the setViewport function:
await page.setViewport({
width: 1920,
height: 1080
})
I want use max viewport.
How can I make the viewport resizable according to the window size?
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)