mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 01:31:45 +00:00
Resolving PR reported issues.
This commit is contained in:
Vendored
+1
-1
@@ -1276,7 +1276,7 @@ export interface PageEventObj {
|
||||
* Emitted when the initial HTML document has been completely loaded and parsed,
|
||||
* without waiting for stylesheets, images, and subframes to finish loading.
|
||||
*/
|
||||
domcontentloaded: undefined;
|
||||
domcontentloaded: void;
|
||||
/** Emitted when the page crashes. */
|
||||
error: Error;
|
||||
/** Emitted when a frame is attached. */
|
||||
|
||||
@@ -512,10 +512,4 @@ puppeteer.launch().then(async browser => {
|
||||
console.log('dom changed');
|
||||
});
|
||||
});
|
||||
|
||||
try {
|
||||
await page.goto('https://www.google.com');
|
||||
} catch (e) {
|
||||
console.log("DOM CONTENT LOADED EVENT ERROR", e);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user