From 5cd1cd195260bf245cfdcc443527eb080953871b Mon Sep 17 00:00:00 2001 From: rohan436 Date: Wed, 18 Mar 2026 09:01:09 +0800 Subject: [PATCH 1/2] docs: fix multipart parameter typo --- docs/src/api/class-apirequestcontext.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/api/class-apirequestcontext.md b/docs/src/api/class-apirequestcontext.md index c96e01991ca2c..48e00626b06e8 100644 --- a/docs/src/api/class-apirequestcontext.md +++ b/docs/src/api/class-apirequestcontext.md @@ -247,7 +247,7 @@ var data = new Dictionary() { await Request.FetchAsync("https://example.com/api/createBook", new() { Method = "post", DataObject = data }); ``` -The common way to send file(s) in the body of a request is to upload them as form fields with `multipart/form-data` encoding, by specifiying the `multipart` parameter: +The common way to send file(s) in the body of a request is to upload them as form fields with `multipart/form-data` encoding, by specifying the `multipart` parameter: ```js const form = new FormData(); From fba4bf7388982e9f966318252c8ad1c72e0f3a4a Mon Sep 17 00:00:00 2001 From: rohan436 Date: Thu, 19 Mar 2026 09:28:46 +0800 Subject: [PATCH 2/2] docs: update generated APIRequestContext types --- packages/playwright-client/types/types.d.ts | 2 +- packages/playwright-core/types/types.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/playwright-client/types/types.d.ts b/packages/playwright-client/types/types.d.ts index 604208ad14b25..6980b27b13e3b 100644 --- a/packages/playwright-client/types/types.d.ts +++ b/packages/playwright-client/types/types.d.ts @@ -18295,7 +18295,7 @@ export interface APIRequestContext { * ``` * * The common way to send file(s) in the body of a request is to upload them as form fields with `multipart/form-data` - * encoding, by specifiying the `multipart` parameter: + * encoding, by specifying the `multipart` parameter: * * ```js * const form = new FormData(); diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts index 604208ad14b25..6980b27b13e3b 100644 --- a/packages/playwright-core/types/types.d.ts +++ b/packages/playwright-core/types/types.d.ts @@ -18295,7 +18295,7 @@ export interface APIRequestContext { * ``` * * The common way to send file(s) in the body of a request is to upload them as form fields with `multipart/form-data` - * encoding, by specifiying the `multipart` parameter: + * encoding, by specifying the `multipart` parameter: * * ```js * const form = new FormData();