playwright-repl 0.16.1 → 0.18.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.
Files changed (2) hide show
  1. package/README.md +2 -3
  2. 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
- | **JavaScript** — `document.title`, `window.location.href` | ❌ | ✅ auto-detected |
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 JavaScript and Playwright API expressions — just type them directly. For the full keyword command list, see [Command Reference](#command-reference).
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playwright-repl",
3
- "version": "0.16.1",
3
+ "version": "0.18.0",
4
4
  "description": "Interactive REPL for Playwright browser automation — keyword-driven testing from your terminal",
5
5
  "type": "module",
6
6
  "bin": {