puppeteer enable location permission code example
Example: puppeteer enable location permission
const context = browser.defaultBrowserContext()
await context.overridePermissions("https://chercher.tech/practice/geo-location", ['geolocation'])
await page.setGeolocation({latitude: parseFloat(latitude), longitude: parseFloat(longtitude)})