@types/puppeteer
Advanced tools
Comparing version 0.10.2 to 0.10.3
@@ -227,2 +227,4 @@ // Type definitions for puppeteer 0.10 | ||
export type Serializable = boolean | number | string | object; | ||
export interface FrameBase { | ||
@@ -233,4 +235,4 @@ $(selector: string): Promise<ElementHandle>; | ||
selector: string, | ||
fn: (...args: Array<object | ElementHandle>) => void | ||
): Promise<object>; | ||
fn: (...args: Array<Serializable | ElementHandle>) => void | ||
): Promise<Serializable>; | ||
addScriptTag(url: string): Promise<void>; | ||
@@ -296,3 +298,12 @@ injectFile(filePath: string): Promise<void>; | ||
content(): Promise<string>; | ||
cookies(...urls: string[]): Cookie; | ||
cookies(...urls: string[]): Promise<Cookie[]>; | ||
deleteCookie( | ||
...cookies: Array<{ | ||
name: string; | ||
url?: string; | ||
domain?: string; | ||
path?: string; | ||
secure?: boolean; | ||
}> | ||
): Promise<void>; | ||
emulate(options: Partial<EmulateOptions>): Promise<void>; | ||
@@ -299,0 +310,0 @@ emulateMedia(mediaType: string | null): Promise<void>; |
{ | ||
"name": "@types/puppeteer", | ||
"version": "0.10.2", | ||
"version": "0.10.3", | ||
"description": "TypeScript definitions for puppeteer", | ||
@@ -22,4 +22,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "a23ce40ffdde1fa31f96b9da3cd902d95908456a7cc88c3ba205e292a506cbc7", | ||
"typesPublisherContentHash": "9b239e2a2c3b6135904a66a25391fc4e56e976d914255b5197844889119084d1", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 04 Oct 2017 18:20:42 GMT | ||
* Last updated: Mon, 16 Oct 2017 20:11:07 GMT | ||
* Dependencies: node | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13046
360