docs(test-runner): add note about launchOptions and contextOptions (#7133)

This commit is contained in:
Max Schmitt 2021-06-15 01:11:15 -07:00 committed by GitHub
parent 58878b584a
commit 48c3691dca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
- Browser options match [`method: BrowserType.launch`] method.
- Context options match [`method: Browser.newContext`] method.
- `launchOptions` - Browser launch options match [`method: BrowserType.launch`] 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`.
- `'off'` - Do not capture screenshots.
- `'on'` - Capture screenshot after each test.