fix that the cli still used the DEFAULT_SOCKET Const, give better error message when no browser found adding test for client and update cli test, and update version and readme
This commit is contained in:
@@ -122,7 +122,7 @@ browser-cli/
|
||||
|
||||
All commands are run with `uv run browser-cli [--browser ALIAS] <command>`.
|
||||
|
||||
Use `--browser ALIAS` when multiple browser instances are connected. You can inspect the active instances with `browser-cli clients` and assign a persistent profile alias from inside the target browser with `browser-cli rename-profile --browser <current-alias> <new-alias>`.
|
||||
If exactly one browser instance is connected, commands auto-target it. Use `--browser ALIAS` when multiple browser instances are connected. You can inspect the active instances with `browser-cli clients` and assign a persistent profile alias from inside the target browser with `browser-cli rename-profile --browser <current-alias> <new-alias>`.
|
||||
|
||||
Important: profile aliases are browser-instance aliases, not window aliases. Window aliases created with `windows rename` are only for targeting windows in commands like `nav open --window work`. If a browser instance has no explicit profile alias set, the native host gives it a generated UUID alias so multiple unaliased browsers stay distinct.
|
||||
|
||||
@@ -268,7 +268,7 @@ browser-cli session auto-save off
|
||||
### Misc
|
||||
|
||||
```sh
|
||||
browser-cli clients # show connected browser info
|
||||
browser-cli clients # show connected browser info from the registry
|
||||
browser-cli rename-profile --browser abcd1234 work # rename one connected browser instance
|
||||
browser-cli --browser abcd1234 rename-profile work # equivalent global form
|
||||
browser-cli install brave # (re)register the native host
|
||||
|
||||
Reference in New Issue
Block a user