Skip to content

Commit 6d306ed

Browse files
miraoJaromir Obr
andauthored
Playwright: Fixed properties types (#3401)
Co-authored-by: Jaromir Obr <[email protected]>
1 parent 64598bc commit 6d306ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/helper/Playwright.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const { createValueEngine, createDisabledEngine } = require('./extras/Playwright
6868
* @prop {boolean} [keepBrowserState=false] - keep browser state between tests when `restart` is set to 'session'.
6969
* @prop {boolean} [keepCookies=false] - keep cookies between tests when `restart` is set to 'session'.
7070
* @prop {number} [waitForAction] - how long to wait after click, doubleClick or PressKey actions in ms. Default: 100.
71-
* @prop {number} [waitForNavigation] - When to consider navigation succeeded. Possible options: `load`, `domcontentloaded`, `networkidle`. Choose one of those options is possible. See [Playwright API](https://github.com/microsoft/playwright/blob/main/docs/api.md#pagewaitfornavigationoptions).
71+
* @prop {string} [waitForNavigation] - When to consider navigation succeeded. Possible options: `load`, `domcontentloaded`, `networkidle`. Choose one of those options is possible. See [Playwright API](https://playwright.dev/docs/api/class-page#page-wait-for-navigation).
7272
* @prop {number} [pressKeyDelay=10] - Delay between key presses in ms. Used when calling Playwrights page.type(...) in fillField/appendField
7373
* @prop {number} [getPageTimeout] - config option to set maximum navigation time in milliseconds.
7474
* @prop {number} [waitForTimeout] - default wait* timeout in ms. Default: 1000.
@@ -79,6 +79,7 @@ const { createValueEngine, createDisabledEngine } = require('./extras/Playwright
7979
* @prop {string} [locale] - locale string. Example: 'en-GB', 'de-DE', 'fr-FR', ...
8080
* @prop {boolean} [manualStart] - do not start browser before a test, start it manually inside a helper with `this.helpers["Playwright"]._startBrowser()`.
8181
* @prop {object} [chromium] - pass additional chromium options
82+
* @prop {object} [firefox] - pass additional firefox options
8283
* @prop {object} [electron] - (pass additional electron options
8384
* @prop {any} [channel] - (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](https://playwright.dev/docs/browsers/#google-chrome--microsoft-edge).
8485
*/

0 commit comments

Comments
 (0)