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
You can also take a snapshot on demand using `playwright-cli snapshot` command.
251
+
252
+
If `--filename` is not provided, a new snapshot file is created with a timestamp. Default to automatic file naming, use `--filename=` when artifact is a part of the workflow result.
253
+
245
254
### Sessions
246
255
247
256
```bash
@@ -252,6 +261,15 @@ playwright-cli list # list all sessions
252
261
playwright-cli close-all # close all browsers
253
262
playwright-cli kill-all # forcefully kill all browser processes
254
263
```
264
+
265
+
### Local installation
266
+
267
+
In some cases you might want to install playwright-cli locally. If running the globally available `playwright-cli` binary fails, use `npx playwright-cli` to run the commands. For example:
You can also take a snapshot on demand using `playwright-cli snapshot` command.
196
+
197
+
If `--filename` is not provided, a new snapshot file is created with a timestamp. Default to automatic file naming, use `--filename=` when artifact is a part of the workflow result.
198
+
199
+
## Browser Sessions
190
200
191
201
```bash
192
202
# create new browser session named "mysession" with persistent profile
@@ -204,6 +214,15 @@ playwright-cli close-all
204
214
playwright-cli kill-all
205
215
```
206
216
217
+
## Local installation
218
+
219
+
In some cases user might want to install playwright-cli locally. If running globally available `playwright-cli` binary fails, use `npx playwright-cli` to run the commands. For example:
0 commit comments