browser4-cli 4.13.20 → 4.13.21

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 CHANGED
@@ -326,7 +326,7 @@ All interaction commands accept a snapshot ref such as `e15` or a CSS selector u
326
326
  | `wait [target]` | Wait for a selector/ref, duration, text, URL pattern, page-load state, or JavaScript expression. Supports `--timeout`, `--text`, `--url`, `--load`, `--fn`. |
327
327
  | `upload <ref> <file> [file...]` | Upload one or more local files to a page file input. The target must be an `<input type="file">` (anything else errors); the paths must be readable by the browser process — local mode: the same machine, and empty/missing files are rejected with a hint; remote backend: paths resolve on the backend host. Supports `--no-snapshot`. |
328
328
 
329
- `wait --load` accepts `domcontentloaded`, `load`, and `networkidle`.
329
+ `wait --load` accepts `domcontentloaded`, `load`, and `networkidle`. `networkidle` only proves the network went quiet — it does **not** mean late-rendered results exist; for result pages poll the element instead: `wait "<result-selector>"`.
330
330
 
331
331
  ```bash
332
332
  browser4-cli click e8 --follow
@@ -655,6 +655,13 @@ The runtime bundle is stored separately in a platform-conventional application-d
655
655
  that auto-build from source. Use `./b4w.ps1 <command>` (PowerShell),
656
656
  `./b4w.sh <command>` (Git Bash / Linux / macOS), or `./b4w.bat <command>`
657
657
  (CMD) — all accept the same arguments as the installed `browser4-cli` binary.
658
+ Dev mode only ever serves the checked-out code: a local runtime bundle built
659
+ from a **different project version** makes the command refuse to start (naming
660
+ the reason, the bundle's versions and build time, and the rebuild command)
661
+ rather than silently testing an outdated backend; a checkout whose sources
662
+ merely look newer than the bundle jars is rebuilt before the server starts —
663
+ see
664
+ [CLI install & upgrade](docs/cli-install-upgrade.md#dev-mode-the-backend-must-match-the-checkout).
658
665
 
659
666
  ---
660
667
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browser4-cli",
3
- "version": "4.13.20",
3
+ "version": "4.13.21",
4
4
  "description": "Browser automation CLI for AI agents",
5
5
  "type": "module",
6
6
  "files": [