docs(readme): add locale to geo example (#2845)
This commit is contained in:
parent
241d39f904
commit
8d111a8820
|
|
@ -71,6 +71,7 @@ const iPhone11 = devices['iPhone 11 Pro'];
|
||||||
const browser = await webkit.launch();
|
const browser = await webkit.launch();
|
||||||
const context = await browser.newContext({
|
const context = await browser.newContext({
|
||||||
...iPhone11,
|
...iPhone11,
|
||||||
|
locale: 'en-US',
|
||||||
geolocation: { longitude: 12.492507, latitude: 41.889938 },
|
geolocation: { longitude: 12.492507, latitude: 41.889938 },
|
||||||
permissions: ['geolocation']
|
permissions: ['geolocation']
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue