mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-04 16:37:49 +03:00
docs: add missed request fixture in the pre-defined list (#20038)
This commit is contained in:
parent
c4b9654fa7
commit
ed1c4b582f
@ -33,12 +33,13 @@ The `{ page }` argument tells Playwright Test to setup the `page` fixture and pr
|
|||||||
|
|
||||||
Here is a list of the pre-defined fixtures that you are likely to use most of the time:
|
Here is a list of the pre-defined fixtures that you are likely to use most of the time:
|
||||||
|
|
||||||
|Fixture |Type |Description |
|
|Fixture |Type |Description |
|
||||||
|:----------|:----------------|:--------------------------------|
|
|:----------|:------------------|:--------------------------------|
|
||||||
|page |[Page] |Isolated page for this test run. |
|
|page |[Page] |Isolated page for this test run. |
|
||||||
|context |[BrowserContext] |Isolated context for this test run. The `page` fixture belongs to this context as well. Learn how to [configure context](./test-configuration.md). |
|
|context |[BrowserContext] |Isolated context for this test run. The `page` fixture belongs to this context as well. Learn how to [configure context](./test-configuration.md). |
|
||||||
|browser |[Browser] |Browsers are shared across tests to optimize resources. Learn how to [configure browser](./test-configuration.md). |
|
|browser |[Browser] |Browsers are shared across tests to optimize resources. Learn how to [configure browser](./test-configuration.md). |
|
||||||
|browserName|[string] |The name of the browser currently running the test. Either `chromium`, `firefox` or `webkit`.|
|
|browserName|[string] |The name of the browser currently running the test. Either `chromium`, `firefox` or `webkit`.|
|
||||||
|
|request |[APIRequestContext]|Isolated [APIRequestContext](./api/class-apirequestcontext.md) instance for this test run.|
|
||||||
|
|
||||||
### Without fixtures
|
### Without fixtures
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user