When I create a new page, I need to define the viewport dimensions with the adjustViewport
method:
await page.adjustViewport({
width: 1440,
height: 900
});
I would like to implement a max viewport configuration.
What steps should I take to enable the viewport to adjust dynamically to the window size?