You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case `el` will be an instance of [ElementHandle](https://github.com/microsoft/playwright/blob/v0.12.1/docs/api.md#class-elementhandle) which is similar for Playwright & [Puppeteer](https://pptr.dev/#?product=Puppeteer&version=v2.1.1&show=api-class-elementhandle).
213
+
In this case `el` will be an instance of [ElementHandle](https://playwright.dev/#version=master&path=docs%2Fapi.md&q=class-elementhandle) which is similar for Playwright & [Puppeteer](https://pptr.dev/#?product=Puppeteer&version=master&show=api-class-elementhandle).
214
214
215
215
> ℹ There are more `_locate*` methods in each helper. Take a look on documentation of a helper you use to see which exact method it exposes.
Copy file name to clipboardExpand all lines: docs/helpers/Playwright.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,9 @@ Uses [Playwright][1] library to run tests inside:
19
19
20
20
This helper works with a browser out of the box with no additional tools required to install.
21
21
22
-
Requires `playwright` package version ^0.12.1 to be installed:
22
+
Requires `playwright` package version ^1 to be installed:
23
23
24
-
npm i playwright@^0.12.1 --save
24
+
npm i playwright@^1 --save
25
25
26
26
## Configuration
27
27
@@ -38,7 +38,7 @@ This helper should be configured in codecept.json or codecept.conf.js
38
38
-`keepBrowserState`: - keep browser state between tests when `restart` is set to false.
39
39
-`keepCookies`: - keep cookies between tests when `restart` is set to false.
40
40
-`waitForAction`: (optional) how long to wait after click, doubleClick or PressKey actions in ms. Default: 100.
41
-
-`waitForNavigation`: . When to consider navigation succeeded. Possible options: `load`, `domcontentloaded`, `networkidle0`, `networkidle2`. Choose one of those options is possible. See [Playwright API][2].
41
+
-`waitForNavigation`: . When to consider navigation succeeded. Possible options: `load`, `domcontentloaded`, `networkidle`. Choose one of those options is possible. See [Playwright API][2].
42
42
-`pressKeyDelay`: . Delay between key presses in ms. Used when calling Playwrights page.type(...) in fillField/appendField
43
43
-`getPageTimeout` config option to set maximum navigation time in milliseconds.
44
44
-`waitForTimeout`: (optional) default wait* timeout in ms. Default: 1000.
0 commit comments