docs(readme): add locale to geo example (#2845)

This commit is contained in:
Arjun Attam 2020-07-06 09:43:35 -07:00 committed by GitHub
parent 241d39f904
commit 8d111a8820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,6 +71,7 @@ const iPhone11 = devices['iPhone 11 Pro'];
const browser = await webkit.launch();
const context = await browser.newContext({
...iPhone11,
locale: 'en-US',
geolocation: { longitude: 12.492507, latitude: 41.889938 },
permissions: ['geolocation']
});