From 36ec9d1bdaae5fc02256c7f715668de62a1c4c17 Mon Sep 17 00:00:00 2001 From: Jaromir Obr Date: Tue, 13 Sep 2022 19:37:44 +0200 Subject: [PATCH] Fixed docs related to https://github.com/codeceptjs/CodeceptJS/pull/3401 --- docs/helpers/Playwright.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/helpers/Playwright.md b/docs/helpers/Playwright.md index 8e9939b97..cc25fa63d 100644 --- a/docs/helpers/Playwright.md +++ b/docs/helpers/Playwright.md @@ -55,7 +55,7 @@ Type: [object][5] - `keepBrowserState` **[boolean][25]?** keep browser state between tests when `restart` is set to 'session'. - `keepCookies` **[boolean][25]?** keep cookies between tests when `restart` is set to 'session'. - `waitForAction` **[number][11]?** how long to wait after click, doubleClick or PressKey actions in ms. Default: 100. -- `waitForNavigation` **[number][11]?** When to consider navigation succeeded. Possible options: `load`, `domcontentloaded`, `networkidle`. Choose one of those options is possible. See [Playwright API][35]. +- `waitForNavigation` **[string][7]?** When to consider navigation succeeded. Possible options: `load`, `domcontentloaded`, `networkidle`. Choose one of those options is possible. See [Playwright API][35]. - `pressKeyDelay` **[number][11]?** Delay between key presses in ms. Used when calling Playwrights page.type(...) in fillField/appendField - `getPageTimeout` **[number][11]?** config option to set maximum navigation time in milliseconds. - `waitForTimeout` **[number][11]?** default wait* timeout in ms. Default: 1000. @@ -66,6 +66,7 @@ Type: [object][5] - `locale` **[string][7]?** locale string. Example: 'en-GB', 'de-DE', 'fr-FR', ... - `manualStart` **[boolean][25]?** do not start browser before a test, start it manually inside a helper with `this.helpers["Playwright"]._startBrowser()`. - `chromium` **[object][5]?** pass additional chromium options +- `firefox` **[object][5]?** pass additional firefox options - `electron` **[object][5]?** (pass additional electron options - `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]. @@ -2166,6 +2167,6 @@ I.waitUrlEquals('http://127.0.0.1:8000/info'); [34]: https://playwright.dev/docs/trace-viewer -[35]: https://github.com/microsoft/playwright/blob/main/docs/api.md#pagewaitfornavigationoptions +[35]: https://playwright.dev/docs/api/class-page#page-wait-for-navigation [36]: https://playwright.dev/docs/browsers/#google-chrome--microsoft-edge