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
Copy file name to clipboardExpand all lines: Readme.md
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -47,9 +47,25 @@ modules:
47
47
browser: 'chromium'
48
48
show: true
49
49
```
50
+
Most common config values are:
51
+
52
+
* `url` - base url to open pages from
53
+
* `browser` - either `chromium`, `firefox`, `webkit`
54
+
* `show` - (default: `true`) to show browser or set to `false` to run tests in headless mode
55
+
* `timeout` - (default: `5000`) timeout (in ms) for all Playwright operations
56
+
* `pw_start` - (default: `true`) start Playwright Server (Proxy to CodeceptJS) automatically. Set to `false` and run server manually in case server doesn't start.
57
+
* `pw_server` - (default: 'http://localhost:8191') url of Playwright Server
58
+
* `pw_debug` - (default: `false`) print Playwright Server debug information
59
+
* `video` - save video on fail
60
+
* `trace` - save traces on fail
61
+
62
+
More configuration options are is listed on [CodeceptJS Playwright page](https://codecept.io/helpers/Playwright/#configuration)
63
+
64
+
50
65
> [!Tip]
51
66
> This module is designed as drop-in WebDriver module replacement, you can change `WebDriver` to `Playwright` in your tests and try how it works!
52
67
68
+
53
69
## Usage
54
70
55
71
Playwright module requires NodeJS server to be running. Playwright module will start it and stop automatically. Default port is **8191**.
@@ -90,7 +106,9 @@ modules:
90
106
91
107
This module provides the same API as WebDriver module. You can try to use it in your tests without any changes.
92
108
93
-
Complete API reference is available in [CodeceptJS Playwright Helper](https://codecept.io/helpers/Playwright/)
109
+
For the full command list see [WebDriver module reference](https://codeception.com/docs/modules/WebDriver#dontSeeElement).
110
+
111
+
Playwright-specific commands are also available in [CodeceptJS Playwright Helper](https://codecept.io/helpers/Playwright/)
0 commit comments