Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

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

Arjun Attam8d111a8820fb
diff --git a/README.md b/README.md
index e590992021..7f7d346424 100644
--- a/README.md
+++ b/README.md
@@ -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']
});