mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +03:00
docs(test-runner): add note about launchOptions and contextOptions (#7133)
This commit is contained in:
parent
58878b584a
commit
48c3691dca
@ -11,8 +11,8 @@ Playwright Tests supports browser and context options that you typically pass to
|
|||||||
|
|
||||||
You can specify any options either locally in a test file, or globally in the configuration file.
|
You can specify any options either locally in a test file, or globally in the configuration file.
|
||||||
|
|
||||||
- Browser options match [`method: BrowserType.launch`] method.
|
- `launchOptions` - Browser launch options match [`method: BrowserType.launch`] method.
|
||||||
- Context options match [`method: Browser.newContext`] method.
|
- `contextOptions` - Context options match [`method: Browser.newContext`] method.
|
||||||
- `screenshot` option - whether to capture a screenshot after each test, off by default. Screenshot will appear in the test output directory, typically `test-results`.
|
- `screenshot` option - whether to capture a screenshot after each test, off by default. Screenshot will appear in the test output directory, typically `test-results`.
|
||||||
- `'off'` - Do not capture screenshots.
|
- `'off'` - Do not capture screenshots.
|
||||||
- `'on'` - Capture screenshot after each test.
|
- `'on'` - Capture screenshot after each test.
|
||||||
|
Loading…
Reference in New Issue
Block a user