@ai-ecoverse/slicc-cdp 1.31.5 → 1.31.7
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 +5 -1
- package/bin/curlwright.wasm +0 -0
- package/bin/playwright-cli.wasm +0 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -39,7 +39,9 @@ playwright-cli click e3
|
|
|
39
39
|
curlwright -i https://example.com/
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
`open` attaches to a running Chrome or launches one. To pick a browser, pass `--cdp http://127.0.0.1:<port
|
|
42
|
+
`open` attaches to a running Chrome or launches one. To pick a browser, pass `--cdp <port>` (for example `--cdp 9333`, which means `localhost:9333`) or `--cdp http://127.0.0.1:<port>`, or set `SLICC_CDP_URL`. Run `playwright-cli --help` for all commands.
|
|
43
|
+
|
|
44
|
+
`--cdp` and `SLICC_CDP_URL` take a port, `host`, `host:port` (port 9222 when it is left out), an `http://` or `https://` URL, or a `ws://` or `wss://` URL. A `ws://` or `wss://` URL with a path is dialled as it is; every other form reads `/json/version` first. The client tries every address the host resolves to, and `localhost`, `127.0.0.1`, `::1` (`[::1]`) and `0.0.0.0` all mean this machine: both `::1` and `127.0.0.1` are tried. Every address but the last gets two seconds to connect.
|
|
43
45
|
|
|
44
46
|
Seven's origins, the vault, browser pages, extensions and local files are always off limits.
|
|
45
47
|
|
|
@@ -105,6 +107,8 @@ What the clients need from a CDP backend, checked against the code by `crates/cd
|
|
|
105
107
|
- `Network.setRequestInterception`
|
|
106
108
|
- `Fetch.*`
|
|
107
109
|
|
|
110
|
+
The guarded Rust client supports document-scoped operations, origin-scoped cookies and guarded interception. Persistent page capabilities that cannot be restricted to verified ordinary documents are refused before sending, including init scripts, bindings, page overrides and automatic debugger-waiting attachment. The production method lifetime [inventory](crates/cdp-client/src/capability_inventory_test.rs) is checked against the CLI sources. The Node `CDPClient` is a raw CDP transport, not the guarded Rust client.
|
|
111
|
+
|
|
108
112
|
### Session-level domains
|
|
109
113
|
|
|
110
114
|
- `Page`
|
package/bin/curlwright.wasm
CHANGED
|
Binary file
|
package/bin/playwright-cli.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-cdp",
|
|
3
|
-
"version": "1.31.
|
|
3
|
+
"version": "1.31.7",
|
|
4
4
|
"description": "SLICC's CDP layer: client, browser API, transports, HAR, and ARIA snapshot",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@ai-ecoverse/slicc-browsers": "1.12.0",
|
|
72
|
-
"@ai-ecoverse/slicc-kernel": "1.146.
|
|
72
|
+
"@ai-ecoverse/slicc-kernel": "1.146.5",
|
|
73
73
|
"@ai-ecoverse/slicc-shared-web": "2.10.2",
|
|
74
74
|
"@biomejs/biome": "2.5.15",
|
|
75
75
|
"lefthook": "2.2.2",
|