Is there a nicer way to maximize browser in Playwright like it has in other frameworks – browser.maximize()
or page.maximize()
instead of setting the viewport? Or is there one that is going to come soon with a newer version?
I tried setting the viewport, I felt it would be better to have a method for maximize instead of writing the view port numbers.
New contributor
Srikanth Athikari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2