browser4-cli 4.13.19 → 4.13.20

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
@@ -249,7 +249,7 @@ These flags can appear before any command.
249
249
  | Tool | Best for | Input model | Output model |
250
250
  |---|---|---|---|
251
251
  | `snapshot` | clicking, typing, finding interactive elements | live accessibility tree | refs like `e15` |
252
- | `htmlsnapshot` | DOM inspection, CSS extraction, X-SQL | stored HTML snapshot | CSS selectors and query results |
252
+ | `htmlsnapshot` | DOM inspection, CSS extraction, X-SQL | live page DOM (capture is optional) | CSS selectors and query results |
253
253
 
254
254
  #### LLM configuration
255
255
 
@@ -393,8 +393,8 @@ browser4-cli cdp Runtime.evaluate --json '{"expression":"document.title"}'
393
393
  |---|---|
394
394
  | `htmlsnapshot` | Short form of `htmlsnapshot capture`. |
395
395
  | `htmlsnapshot capture` | Capture and store a static HTML snapshot with metadata about the page and interactive elements. |
396
- | `htmlsnapshot get <field> [selector] [name]` | Extract the first matching `text`, `html`, or `attr` from the stored snapshot. |
397
- | `htmlsnapshot get all <field> [selector] [name]` | Extract all matching values from the stored snapshot. Supports `--offset` and `--limit`. |
396
+ | `htmlsnapshot get <field> [selector] [name]` | Extract the first matching `text`, `textcontent`, `html`, or `attr` from the live page DOM. |
397
+ | `htmlsnapshot get all <field> [selector] [name]` | Extract all matching values from the live page DOM. Supports `--offset` and `--limit`. |
398
398
  | `htmlsnapshot query [url]` | Run X-SQL. Supports `--sql <query\|@file>`, `--sql-stdin`, `--sql-base64`, result pagination, and extraction-focused output flags. |
399
399
  | `htmlsnapshot export` | Export stored HTML to a file. Supports positional file path or `--file <path>` plus `--clean`. |
400
400
  | `htmlsnapshot summary` | Generate a compressed Web Page Summary Index (WPSI). |
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.19",
3
+ "version": "4.13.20",
4
4
  "description": "Browser automation CLI for AI agents",
5
5
  "type": "module",
6
6
  "files": [