Removed semicolon from code doc as it not required

This commit is contained in:
Rajendra arora 2020-01-23 13:43:09 +07:00 committed by GitHub
parent 7e8bce7911
commit 3f8df110ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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...