Skip to content

Commit f288fad

Browse files
authored
Fixed docs related to #3401 (#3407)
1 parent a790312 commit f288fad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/helpers/Playwright.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Type: [object][5]
5555
- `keepBrowserState` **[boolean][25]?** keep browser state between tests when `restart` is set to 'session'.
5656
- `keepCookies` **[boolean][25]?** keep cookies between tests when `restart` is set to 'session'.
5757
- `waitForAction` **[number][11]?** how long to wait after click, doubleClick or PressKey actions in ms. Default: 100.
58-
- `waitForNavigation` **[number][11]?** When to consider navigation succeeded. Possible options: `load`, `domcontentloaded`, `networkidle`. Choose one of those options is possible. See [Playwright API][35].
58+
- `waitForNavigation` **[string][7]?** When to consider navigation succeeded. Possible options: `load`, `domcontentloaded`, `networkidle`. Choose one of those options is possible. See [Playwright API][35].
5959
- `pressKeyDelay` **[number][11]?** Delay between key presses in ms. Used when calling Playwrights page.type(...) in fillField/appendField
6060
- `getPageTimeout` **[number][11]?** config option to set maximum navigation time in milliseconds.
6161
- `waitForTimeout` **[number][11]?** default wait* timeout in ms. Default: 1000.
@@ -66,6 +66,7 @@ Type: [object][5]
6666
- `locale` **[string][7]?** locale string. Example: 'en-GB', 'de-DE', 'fr-FR', ...
6767
- `manualStart` **[boolean][25]?** do not start browser before a test, start it manually inside a helper with `this.helpers["Playwright"]._startBrowser()`.
6868
- `chromium` **[object][5]?** pass additional chromium options
69+
- `firefox` **[object][5]?** pass additional firefox options
6970
- `electron` **[object][5]?** (pass additional electron options
7071
- `channel` **any?** (While Playwright can operate against the stock Google Chrome and Microsoft Edge browsers available on the machine. In particular, current Playwright version will support Stable and Beta channels of these browsers. See [Google Chrome & Microsoft Edge][36].
7172

@@ -2166,6 +2167,6 @@ I.waitUrlEquals('http://127.0.0.1:8000/info');
21662167

21672168
[34]: https://playwright.dev/docs/trace-viewer
21682169

2169-
[35]: https://github.com/microsoft/playwright/blob/main/docs/api.md#pagewaitfornavigationoptions
2170+
[35]: https://playwright.dev/docs/api/class-page#page-wait-for-navigation
21702171

21712172
[36]: https://playwright.dev/docs/browsers/#google-chrome--microsoft-edge

0 commit comments

Comments
 (0)