From 48c3691dca3ff9bebbac3312e20b201268b09e1d Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Tue, 15 Jun 2021 01:11:15 -0700 Subject: [PATCH] docs(test-runner): add note about launchOptions and contextOptions (#7133) --- docs/src/test-configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/test-configuration.md b/docs/src/test-configuration.md index 1b273d1840..02aeaa2693 100644 --- a/docs/src/test-configuration.md +++ b/docs/src/test-configuration.md @@ -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.