Skip to content

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

docs: removed semicolon from code doc as it not required (#580)

Rajendra aroraa6042e437aab
diff --git a/docs/api.md b/docs/api.md
index 89f2144c0c..763be0e88e 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -78,7 +78,7 @@ const iPhone = playwright.devices['iPhone 6'];
const browser = await playwright.launch();
const context = await browser.newContext({
viewport: iPhone.viewport,
- userAgent: iPhone.userAgent;
+ userAgent: iPhone.userAgent
});
const page = await context.newPage('http://example.com');
// other actions...