playwright-repl 0.16.1 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -87,10 +87,9 @@ echo -e "goto https://example.com\nsnapshot" | playwright-repl
|
|
|
87
87
|
| Mode | Standalone | Bridge |
|
|
88
88
|
|------|:---:|:---:|
|
|
89
89
|
| **Keyword** — `click "Sign in"`, `goto https://...` | ✅ | ✅ |
|
|
90
|
-
| **
|
|
91
|
-
| **Playwright API** — `await page.locator('button').count()` | ❌ | ✅ auto-detected |
|
|
90
|
+
| **Playwright API / JS** — `await page.title()`, `1 + 1` | ❌ | ✅ auto-detected |
|
|
92
91
|
|
|
93
|
-
Bridge mode auto-detects
|
|
92
|
+
Bridge mode auto-detects Playwright API and JavaScript expressions — just type them directly. For DOM access use `await page.evaluate(() => document.title)`. For the full keyword command list, see [Command Reference](#command-reference).
|
|
94
93
|
|
|
95
94
|
## CLI Options
|
|
96
95
|
|