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 browser = await playwright.launch();
|
||||||
const context = await browser.newContext({
|
const context = await browser.newContext({
|
||||||
viewport: iPhone.viewport,
|
viewport: iPhone.viewport,
|
||||||
userAgent: iPhone.userAgent;
|
userAgent: iPhone.userAgent
|
||||||
});
|
});
|
||||||
const page = await context.newPage('http://example.com');
|
const page = await context.newPage('http://example.com');
|
||||||
// other actions...
|
// other actions...
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue