docs: clarify session is stateful sandbox

This commit is contained in:
Tommy D. Rossi
2026-01-24 15:14:48 +01:00
parent 38b1b6d3ed
commit e9ea0061bd
+2 -2
View File
@@ -30,7 +30,7 @@
## Quick Start ## Quick Start
```bash ```bash
playwriter session new # get session id playwriter session new # creates stateful sandbox, outputs session id (e.g. 1)
playwriter -s 1 -e "await page.goto('https://example.com')" playwriter -s 1 -e "await page.goto('https://example.com')"
playwriter -s 1 -e "console.log(await accessibilitySnapshot({ page }))" playwriter -s 1 -e "console.log(await accessibilitySnapshot({ page }))"
playwriter -s 1 -e "await page.locator('aria-ref=e5').click()" playwriter -s 1 -e "await page.locator('aria-ref=e5').click()"
@@ -42,7 +42,7 @@ Each session has **isolated state**. Browser tabs are **shared** across sessions
```bash ```bash
# Session management # Session management
playwriter session new # outputs: 1 playwriter session new # creates stateful sandbox, outputs id (e.g. 1)
playwriter session list # show sessions + state keys playwriter session list # show sessions + state keys
playwriter session reset <id> # fix connection issues playwriter session reset <id> # fix connection issues