chrome-aws-lambda
Advanced tools
Comparing version 8.0.2 to 9.0.0
{ | ||
"name": "chrome-aws-lambda", | ||
"private": false, | ||
"version": "8.0.2", | ||
"version": "9.0.0", | ||
"author": { | ||
@@ -31,3 +31,3 @@ "name": "Alix Axel" | ||
"@types/node": "^10.17.55", | ||
"puppeteer-core": "^8.0.0", | ||
"puppeteer-core": "^9.0.0", | ||
"rimraf": "^3.0.2", | ||
@@ -38,3 +38,3 @@ "ts-node": "^9.1.1", | ||
"peerDependencies": { | ||
"puppeteer-core": "^8.0.0" | ||
"puppeteer-core": "^9.0.0" | ||
}, | ||
@@ -41,0 +41,0 @@ "bugs": { |
@@ -162,5 +162,5 @@ # chrome-aws-lambda | ||
clickAndWaitForRequest(selector: string, predicate: string | RegExp, options?: WaitTimeoutOptions) | ||
clickAndWaitForRequest(selector: string, predicate: ((request: HTTPRequest) => boolean), options?: WaitTimeoutOptions) | ||
clickAndWaitForRequest(selector: string, predicate: ((request: HTTPRequest) => boolean | Promise<boolean>), options?: WaitTimeoutOptions) | ||
clickAndWaitForResponse(selector: string, predicate: string | RegExp, options?: WaitTimeoutOptions) | ||
clickAndWaitForResponse(selector: string, predicate: ((request: HTTPResponse) => boolean), options?: WaitTimeoutOptions) | ||
clickAndWaitForResponse(selector: string, predicate: ((request: HTTPResponse) => boolean | Promise<boolean>), options?: WaitTimeoutOptions) | ||
count(selector: string) | ||
@@ -185,5 +185,5 @@ exists(selector: string) | ||
clickAndWaitForRequest(selector: string, predicate: string | RegExp, options?: WaitTimeoutOptions) | ||
clickAndWaitForRequest(selector: string, predicate: ((request: HTTPRequest) => boolean), options?: WaitTimeoutOptions) | ||
clickAndWaitForRequest(selector: string, predicate: ((request: HTTPRequest) => boolean | Promise<boolean>), options?: WaitTimeoutOptions) | ||
clickAndWaitForResponse(selector: string, predicate: string | RegExp, options?: WaitTimeoutOptions) | ||
clickAndWaitForResponse(selector: string, predicate: ((request: HTTPResponse) => boolean), options?: WaitTimeoutOptions) | ||
clickAndWaitForResponse(selector: string, predicate: ((request: HTTPResponse) => boolean | Promise<boolean>), options?: WaitTimeoutOptions) | ||
count(selector: string) | ||
@@ -206,5 +206,5 @@ exists(selector: string) | ||
clickAndWaitForRequest(predicate: string | RegExp, options?: WaitTimeoutOptions) | ||
clickAndWaitForRequest(predicate: ((request: HTTPRequest) => boolean), options?: WaitTimeoutOptions) | ||
clickAndWaitForRequest(predicate: ((request: HTTPRequest) => boolean | Promise<boolean>), options?: WaitTimeoutOptions) | ||
clickAndWaitForResponse(predicate: string | RegExp, options?: WaitTimeoutOptions) | ||
clickAndWaitForResponse(predicate: ((request: HTTPResponse) => boolean), options?: WaitTimeoutOptions) | ||
clickAndWaitForResponse(predicate: ((request: HTTPResponse) => boolean | Promise<boolean>), options?: WaitTimeoutOptions) | ||
fillFormByLabel(data: Record<string, boolean | string | string[]>) | ||
@@ -258,2 +258,3 @@ fillFormByName(data: Record<string, boolean | string | string[]>) | ||
| ------------------- | --------------------------------- | ---------------------------------------------------- | | ||
| `9.0.*` | `npm i chrome-aws-lambda@~9.0.0` | [`869685`](https://crrev.com/869685) (`91.0.4469.0`) | | ||
| `8.0.*` | `npm i chrome-aws-lambda@~8.0.2` | [`856583`](https://crrev.com/856583) (`90.0.4427.0`) | | ||
@@ -260,0 +261,0 @@ | `7.0.*` | `npm i chrome-aws-lambda@~7.0.0` | [`848005`](https://crrev.com/848005) (`90.0.4403.0`) | |
@@ -63,3 +63,3 @@ import { Page } from 'puppeteer-core'; | ||
*/ | ||
clickAndWaitForRequest(predicate: ((request: HTTPRequest) => boolean), options?: WaitTimeoutOptions): Promise<HTTPRequest>; | ||
clickAndWaitForRequest(predicate: ((request: HTTPRequest) => boolean | Promise<boolean>), options?: WaitTimeoutOptions): Promise<HTTPRequest>; | ||
@@ -80,3 +80,3 @@ /** | ||
*/ | ||
clickAndWaitForResponse(predicate: ((request: HTTPResponse) => boolean), options?: WaitTimeoutOptions): Promise<HTTPResponse>; | ||
clickAndWaitForResponse(predicate: ((request: HTTPResponse) => boolean | Promise<boolean>), options?: WaitTimeoutOptions): Promise<HTTPResponse>; | ||
@@ -169,3 +169,3 @@ /** | ||
*/ | ||
clickAndWaitForRequest(selector: string, predicate: ((request: HTTPRequest) => boolean), options?: WaitTimeoutOptions): Promise<HTTPRequest>; | ||
clickAndWaitForRequest(selector: string, predicate: ((request: HTTPRequest) => boolean | Promise<boolean>), options?: WaitTimeoutOptions): Promise<HTTPRequest>; | ||
@@ -188,3 +188,3 @@ /** | ||
*/ | ||
clickAndWaitForResponse(selector: string, predicate: ((request: HTTPResponse) => boolean), options?: WaitTimeoutOptions): Promise<HTTPResponse>; | ||
clickAndWaitForResponse(selector: string, predicate: ((request: HTTPResponse) => boolean | Promise<boolean>), options?: WaitTimeoutOptions): Promise<HTTPResponse>; | ||
@@ -320,3 +320,3 @@ /** | ||
*/ | ||
clickAndWaitForRequest(selector: string, predicate: ((request: HTTPRequest) => boolean), options?: WaitTimeoutOptions): Promise<HTTPRequest>; | ||
clickAndWaitForRequest(selector: string, predicate: ((request: HTTPRequest) => boolean | Promise<boolean>), options?: WaitTimeoutOptions): Promise<HTTPRequest>; | ||
@@ -339,3 +339,3 @@ /** | ||
*/ | ||
clickAndWaitForResponse(selector: string, predicate: ((request: HTTPResponse) => boolean), options?: WaitTimeoutOptions): Promise<HTTPResponse>; | ||
clickAndWaitForResponse(selector: string, predicate: ((request: HTTPResponse) => boolean | Promise<boolean>), options?: WaitTimeoutOptions): Promise<HTTPResponse>; | ||
@@ -342,0 +342,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
48956828
360