From 2b350d1d3a50c23a32f7120edc5cd323f47b03d2 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 10:06:33 +0000 Subject: [PATCH] feat(roll): roll to ToT Playwright (03-09-24) --- dotnet/docs/api/class-apiresponse.mdx | 2 +- java/docs/api/class-apiresponse.mdx | 2 +- java/docs/mock.mdx | 4 ++-- nodejs/docs/api/class-apiresponse.mdx | 2 +- python/docs/api/class-apiresponse.mdx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dotnet/docs/api/class-apiresponse.mdx b/dotnet/docs/api/class-apiresponse.mdx index db43202b4b..16d6526359 100644 --- a/dotnet/docs/api/class-apiresponse.mdx +++ b/dotnet/docs/api/class-apiresponse.mdx @@ -69,7 +69,7 @@ ApiResponse.Headers Added in: v1.16apiResponse.HeadersArray -An array with all the request HTTP headers associated with this response. Header names are not lower-cased. Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times. +An array with all the response HTTP headers associated with this response. Header names are not lower-cased. Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times. **Usage** diff --git a/java/docs/api/class-apiresponse.mdx b/java/docs/api/class-apiresponse.mdx index b18ba925da..03ba3c8c40 100644 --- a/java/docs/api/class-apiresponse.mdx +++ b/java/docs/api/class-apiresponse.mdx @@ -69,7 +69,7 @@ APIResponse.headers(); Added in: v1.16apiResponse.headersArray -An array with all the request HTTP headers associated with this response. Header names are not lower-cased. Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times. +An array with all the response HTTP headers associated with this response. Header names are not lower-cased. Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times. **Usage** diff --git a/java/docs/mock.mdx b/java/docs/mock.mdx index f7296411e5..0d80e48c59 100644 --- a/java/docs/mock.mdx +++ b/java/docs/mock.mdx @@ -82,7 +82,7 @@ Setting `update` option to true will create or update the HAR file with the actu ```java // Get the response from the HAR file -page.routeFromHAR("./hars/fruit.har", new RouteFromHAROptions() +page.routeFromHAR(Path.of("./hars/fruit.har"), new RouteFromHAROptions() .setUrl("*/**/api/v1/fruits") .setUpdate(true) ); @@ -116,7 +116,7 @@ Now that you have the HAR file recorded and modified the mock data, it can be us // Replay API requests from HAR. // Either use a matching response from the HAR, // or abort the request if nothing matches. -page.routeFromHAR("./hars/fruit.har", new RouteFromHAROptions() +page.routeFromHAR(Path.of("./hars/fruit.har"), new RouteFromHAROptions() .setUrl("*/**/api/v1/fruits") .setUpdate(false) ); diff --git a/nodejs/docs/api/class-apiresponse.mdx b/nodejs/docs/api/class-apiresponse.mdx index 59c40128f3..e110beec70 100644 --- a/nodejs/docs/api/class-apiresponse.mdx +++ b/nodejs/docs/api/class-apiresponse.mdx @@ -69,7 +69,7 @@ apiResponse.headers(); Added in: v1.16apiResponse.headersArray -An array with all the request HTTP headers associated with this response. Header names are not lower-cased. Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times. +An array with all the response HTTP headers associated with this response. Header names are not lower-cased. Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times. **Usage** diff --git a/python/docs/api/class-apiresponse.mdx b/python/docs/api/class-apiresponse.mdx index 087e6e9195..d6e3427f39 100644 --- a/python/docs/api/class-apiresponse.mdx +++ b/python/docs/api/class-apiresponse.mdx @@ -157,7 +157,7 @@ api_response.headers Added in: v1.16apiResponse.headers_array -An array with all the request HTTP headers associated with this response. Header names are not lower-cased. Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times. +An array with all the response HTTP headers associated with this response. Header names are not lower-cased. Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times. **Usage**