docs(api testing): fix typo (#15096)
This commit is contained in:
parent
609dd2531a
commit
1015fd37f0
|
|
@ -394,7 +394,7 @@ There are two types of [APIRequestContext]:
|
||||||
* associated with a [BrowserContext]
|
* associated with a [BrowserContext]
|
||||||
* isolated instance, created via [`method: APIRequest.newContext`]
|
* 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
|
[`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:
|
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 page.goto('https://www.github.com/');
|
||||||
await request.dispose();
|
await request.dispose();
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue