@generativereality/browser-automation 0.4.12 → 0.4.14

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "browser-automation",
3
3
  "description": "Daemonless, per-tab-isolated browser automation for Claude Code via the `browser-automation` CLI. Drives one shared headed Chrome (persistent profile + extensions) over per-target CDP — many parallel sessions, no focus stealing, nothing long-lived to crash.",
4
- "version": "0.4.12",
4
+ "version": "0.4.14",
5
5
  "author": {
6
6
  "name": "generativereality"
7
7
  },
package/README.md CHANGED
@@ -104,6 +104,7 @@ browser-automation bind -s bank -m nordnet # …or adopt it into a session
104
104
  | `fill (-s\|-m\|-t) <ref> <value> [--submit]` | Type into a field by ref |
105
105
  | `read (-s\|-m\|-t) [selector]` | Print page text (or a CSS selector's text) |
106
106
  | `eval (-s\|-m\|-t) <js>` | Evaluate a JS expression in the tab (escape hatch) |
107
+ | `focus (-s\|-m\|-t) [--raise]` | Make the tab report itself focused + visible, for pages that defer work while hidden (rendering, polling, charts, video). Quiet by default — no window moves; `--raise` genuinely brings it to the front and **takes the screen** |
107
108
  | `download (-s\|-m\|-t) (--click <ref>\|--url <href>)` | Capture a file/CSV download, wait for completion, print the path |
108
109
  | `setfiles (-s\|-m\|-t) <ref> <path…>` | Set files on a known `<input type=file>` by ref (fires input/change) |
109
110
  | `upload (-s\|-m\|-t) --click <ref> <path…>` | Upload via a button that opens a file chooser (transient/custom inputs) |
@@ -179,7 +180,7 @@ same one-action-per-snapshot rule as Playwright refs.
179
180
  repeats a rule is a copy of it, and goes stale the same way code does.
180
181
  `doctor` prints it too, and warns if another user holds it.
181
182
  - `BROWSER_AUTOMATION_CDP` — full CDP host, overriding the port entirely.
182
- - `BROWSER_AUTOMATION_PROFILE` — Chrome profile dir for `launch`.
183
+ - `BROWSER_AUTOMATION_PROFILE` — Chrome profile dir for `launch`. Default `~/.browser-automation/chrome-profile`; a profile still at the old location inside Chrome's own folder is moved there on launch (`browser-automation profile --migrate` to do it by hand).
183
184
  - `BAC_SESSION` — default session name for page commands.
184
185
 
185
186
  ## License