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 +3 -3
- package/bin/browser4-cli-darwin-arm64 +0 -0
- package/bin/browser4-cli-darwin-x64 +0 -0
- package/bin/browser4-cli-linux-arm64 +0 -0
- package/bin/browser4-cli-linux-musl-arm64 +0 -0
- package/bin/browser4-cli-linux-musl-x64 +0 -0
- package/bin/browser4-cli-linux-x64 +0 -0
- package/bin/browser4-cli-win32-x64.exe +0 -0
- package/package.json +1 -1
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 |
|
|
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
|
|
397
|
-
| `htmlsnapshot get all <field> [selector] [name]` | Extract all matching values from the
|
|
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
|