@types/puppeteer
Advanced tools
Comparing version 0.12.3 to 0.12.4
@@ -205,3 +205,3 @@ // Type definitions for puppeteer 0.12 | ||
export interface ElementHandle extends JSHandle { | ||
boundingBox(): BoundingBox; | ||
boundingBox(): BoundingBox | null; | ||
click(options?: ClickOptions): Promise<void>; | ||
@@ -231,3 +231,3 @@ focus(): Promise<void>; | ||
export interface JSHandle { | ||
asElement(): ElementHandle; | ||
asElement(): ElementHandle | null; | ||
dispose(): Promise<void>; | ||
@@ -310,3 +310,3 @@ executionContext(): ExecutionContext; | ||
export interface FrameBase { | ||
$(selector: string): Promise<ElementHandle>; | ||
$(selector: string): Promise<ElementHandle | null>; | ||
$$(selector: string): Promise<ElementHandle[]>; | ||
@@ -355,3 +355,3 @@ $$eval( | ||
name(): string; | ||
parentFrame(): Frame | undefined; | ||
parentFrame(): Frame | null; | ||
} | ||
@@ -403,5 +403,5 @@ | ||
getMetrics(): Metrics; | ||
goBack(options?: Partial<NavigationOptions>): Promise<Response>; | ||
goForward(options?: Partial<NavigationOptions>): Promise<Response>; | ||
goto(url: string, options?: Partial<NavigationOptions>): Promise<Response>; | ||
goBack(options?: Partial<NavigationOptions>): Promise<Response | null>; | ||
goForward(options?: Partial<NavigationOptions>): Promise<Response | null>; | ||
goto(url: string, options?: Partial<NavigationOptions>): Promise<Response | null>; | ||
hover(selector: string): Promise<void>; | ||
@@ -408,0 +408,0 @@ keyboard: Keyboard; |
{ | ||
"name": "@types/puppeteer", | ||
"version": "0.12.3", | ||
"version": "0.12.4", | ||
"description": "TypeScript definitions for puppeteer", | ||
@@ -27,4 +27,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "856bcd1fd0dc56373a1ca624853b8455ef435509a1c7ae53a82a89c84041bf0a", | ||
"typesPublisherContentHash": "18567dacf97ceb045aa71bf44f021d15fc99aa3cb5f62705ae7bcd6aa4b9bfeb", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 10 Nov 2017 21:32:46 GMT | ||
* Last updated: Mon, 13 Nov 2017 15:13:43 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
15791