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);
|
var success = await page.navigate(address);
|
||||||
if (!success)
|
if (!success)
|
||||||
console.log('Unable to load the address!');
|
console.log('Unable to load the address!');
|
||||||
// browser.close();
|
browser.close();
|
||||||
});
|
});
|
||||||
|
@ -490,8 +490,8 @@ class InPageCallback {
|
|||||||
|
|
||||||
/** @enum {string} */
|
/** @enum {string} */
|
||||||
Page.ScreenshotTypes = {
|
Page.ScreenshotTypes = {
|
||||||
PNG: "png",
|
PNG: 'png',
|
||||||
JPG: "jpeg",
|
JPG: 'jpeg',
|
||||||
};
|
};
|
||||||
|
|
||||||
/** @enum {string} */
|
/** @enum {string} */
|
||||||
|
Loading…
Reference in New Issue
Block a user