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