[puppeteer] Add "background_page" and "browser" to target types

This commit is contained in:
Konstantin Simon Maria Möllers
2018-06-13 10:15:17 +02:00
parent 8dc71fb832
commit 94498aa01c
+1 -1
View File
@@ -1327,7 +1327,7 @@ export interface Target {
page(): Promise<Page>;
/** Identifies what kind of target this is. */
type(): "page" | "service_worker" | "other";
type(): "page" | "background_page" | "service_worker" | "browser" | "other";
/** Returns the target URL. */
url(): string;