docs(api testing): fix typo (#15096)

This commit is contained in:
Jeff Astor 2022-06-23 20:36:11 -04:00 committed by GitHub
parent 609dd2531a
commit 1015fd37f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
});
```
```