Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: no Response.finished() return value (#8819)
Max Schmitta5fa19074802
diff --git a/docs/src/api/class-response.md b/docs/src/api/class-response.mdindex 976763a957..7e6327db4a 100644--- a/docs/src/api/class-response.md+++ b/docs/src/api/class-response.md@@ -15,7 +15,7 @@ Returns the buffer with response body.## async method: Response.finished- returns: <[null]|[string]>-Waits for this response to finish, returns failure error if request failed.+Waits for this response to finish, returns always `null`.## method: Response.frame- returns: <[Frame]>diff --git a/types/types.d.ts b/types/types.d.tsindex 7ab5756355..360e44f6d3 100644--- a/types/types.d.ts+++ b/types/types.d.ts@@ -13255,7 +13255,7 @@ export interface Response {body(): Promise<Buffer>;/**- * Waits for this response to finish, returns failure error if request failed.+ * Waits for this response to finish, returns always `null`.*/finished(): Promise<null|Error>;