mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
minor code cleanup
This commit is contained in:
parent
c08f1447bb
commit
e05fd8c7b9
@ -29,5 +29,5 @@ browser.newPage().then(async page => {
|
||||
var success = await page.navigate(address);
|
||||
if (!success)
|
||||
console.log('Unable to load the address!');
|
||||
// browser.close();
|
||||
browser.close();
|
||||
});
|
||||
|
@ -490,8 +490,8 @@ class InPageCallback {
|
||||
|
||||
/** @enum {string} */
|
||||
Page.ScreenshotTypes = {
|
||||
PNG: "png",
|
||||
JPG: "jpeg",
|
||||
PNG: 'png',
|
||||
JPG: 'jpeg',
|
||||
};
|
||||
|
||||
/** @enum {string} */
|
||||
|
Loading…
Reference in New Issue
Block a user