@usecanary/browser 0.4.2 → 0.4.3
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 +4 -4
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# @usecanary/browser
|
|
2
2
|
|
|
3
3
|
> `canary-browser` — the browser-automation engine for
|
|
4
|
-
> [Canary](https://github.com/
|
|
4
|
+
> [Canary](https://github.com/wizenheimer/canary). Run sandboxed JavaScript against a real Chromium with
|
|
5
5
|
> persistent, named pages. This is **one-off** automation — nothing is recorded. For capture-enabled QA
|
|
6
6
|
> sessions with a `report.html`, use [`@usecanary/cli`](https://www.npmjs.com/package/@usecanary/cli).
|
|
7
7
|
|
|
8
8
|
[](https://www.npmjs.com/package/@usecanary/browser)
|
|
9
|
-
[](https://github.com/
|
|
9
|
+
[](https://github.com/wizenheimer/canary)
|
|
10
10
|
|
|
11
11
|
Scripts are plain async JavaScript in a QuickJS sandbox with a Playwright-like API — no `require`,
|
|
12
12
|
`process`, `fs`, or `fetch`; just a pre-connected `browser`, `console`, and a few file helpers. A
|
|
@@ -96,7 +96,7 @@ await saveScreenshot(await page.screenshot(), "hn.png"); // saved under ~/.can
|
|
|
96
96
|
`--timeout`). Values crossing `evaluate` must be JSON-serializable.
|
|
97
97
|
|
|
98
98
|
Full reference:
|
|
99
|
-
[canary-scripting](https://github.com/
|
|
99
|
+
[canary-scripting](https://github.com/wizenheimer/canary/blob/main/skills/canary-scripting/references/REFERENCE.md).
|
|
100
100
|
|
|
101
101
|
## Related packages
|
|
102
102
|
|
|
@@ -105,4 +105,4 @@ Full reference:
|
|
|
105
105
|
- [`@usecanary/ui`](https://www.npmjs.com/package/@usecanary/ui) — browse recorded sessions.
|
|
106
106
|
- [`create-canary`](https://www.npmjs.com/package/create-canary) — `npm create canary` guided setup.
|
|
107
107
|
|
|
108
|
-
MIT · [source](https://github.com/
|
|
108
|
+
MIT · [source](https://github.com/wizenheimer/canary)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usecanary/browser",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Browser-automation CLI. Supervises the embedded canary-daemon and exposes a scriptable API over named-page persistent browsers.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"cli",
|
|
13
13
|
"headless"
|
|
14
14
|
],
|
|
15
|
-
"homepage": "https://github.com/
|
|
16
|
-
"bugs": "https://github.com/
|
|
15
|
+
"homepage": "https://github.com/wizenheimer/canary#readme",
|
|
16
|
+
"bugs": "https://github.com/wizenheimer/canary/issues",
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/
|
|
19
|
+
"url": "git+https://github.com/wizenheimer/canary.git",
|
|
20
20
|
"directory": "apps/canary-browser"
|
|
21
21
|
},
|
|
22
22
|
"engines": {
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"tsx": "^4.19.2",
|
|
43
43
|
"typescript": "^5.8.0",
|
|
44
44
|
"vitest": "^4.1.0",
|
|
45
|
-
"@usecanary/
|
|
46
|
-
"@usecanary/cli-kit": "0.4.2",
|
|
45
|
+
"@usecanary/cli-kit": "0.4.3",
|
|
47
46
|
"@usecanary/config": "0.0.0",
|
|
48
|
-
"@usecanary/
|
|
49
|
-
"@usecanary/
|
|
47
|
+
"@usecanary/daemon-client": "0.4.3",
|
|
48
|
+
"@usecanary/protocol": "0.4.3",
|
|
49
|
+
"@usecanary/logger": "0.4.3"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "node scripts/build.mjs",
|