How do you simulate Geolocation and device emulation in Playwright tests?

How do you simulate Geolocation and device emulation in Playwright tests?

Hi Ana,

To simulate Geolocation and device emulation you can use page.setGeolocation and page.emulate