mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: removed semicolon from code doc as it not required (#580)
This commit is contained in:
parent
7e8bce7911
commit
a6042e437a
@ -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...
|
||||
|
Loading…
x
Reference in New Issue
Block a user