From 1015fd37f02782b3865e20b04fa7c286a6d9cb63 Mon Sep 17 00:00:00 2001 From: Jeff Astor Date: Thu, 23 Jun 2022 20:36:11 -0400 Subject: [PATCH] docs(api testing): fix typo (#15096) --- docs/src/test-api-testing-js.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/test-api-testing-js.md b/docs/src/test-api-testing-js.md index 09011d9508..6764b35d9a 100644 --- a/docs/src/test-api-testing-js.md +++ b/docs/src/test-api-testing-js.md @@ -394,7 +394,7 @@ There are two types of [APIRequestContext]: * associated with a [BrowserContext] * isolated instance, created via [`method: APIRequest.newContext`] -The main difference is that [APIRequestConxtext] accessible via [`property: BrowserContext.request`] and +The main difference is that [APIRequestContext] accessible via [`property: BrowserContext.request`] and [`property: Page.request`] will populate request's `Cookie` header from the browser context and will automatically update browser cookies if [APIResponse] has `Set-Cookie` header: @@ -456,4 +456,4 @@ test('global context request has isolated cookie storage', async ({ page, contex await page.goto('https://www.github.com/'); await request.dispose(); }); -``` \ No newline at end of file +```