remove the --profile flag on windows open and add opening a new window with a url
This commit is contained in:
@@ -223,7 +223,7 @@ browser-cli group move 42 --backward # move group left
|
||||
```sh
|
||||
browser-cli windows list # list all windows
|
||||
browser-cli windows open # open a new window
|
||||
browser-cli windows open --profile Default # request a specific Chrome profile name
|
||||
browser-cli windows open https://example.com # open a new window on a URL
|
||||
browser-cli windows rename 1 "work" # give a window a local alias
|
||||
browser-cli windows close 1 # close a window
|
||||
```
|
||||
@@ -326,6 +326,7 @@ b.group_count() # int, or BrowserCounts(...) in multi-browser mode
|
||||
windows = b.windows_list() # in multi-browser mode each dict has a "browser" key
|
||||
b.windows_rename(1, "work")
|
||||
b.windows_open()
|
||||
b.windows_open("https://example.com")
|
||||
b.windows_close(1)
|
||||
|
||||
# DOM (active tab must be http/https)
|
||||
@@ -400,7 +401,6 @@ bash examples/demo.sh
|
||||
## Limitations
|
||||
|
||||
- **Chrome internal pages** (`chrome://`, `brave://`, `about:`) cannot be scripted. DOM and extract commands only work on regular `http://` and `https://` pages.
|
||||
- **Profile switching** via `windows open --profile` depends on browser support and does not replace launching a separate browser profile externally with `--profile-directory`.
|
||||
- **Multiple browser instances can be auto-distinguished, but generated aliases are temporary**. Unaliased browsers get UUID aliases from the native host, which avoids collisions but is less ergonomic than setting a stable alias with `browser-cli rename-profile --browser <current-alias> <new-alias>`.
|
||||
- **Supported install targets are explicit, not “all Chromium browsers”**. The installer currently supports Chrome, Chromium, Brave, Edge, and Vivaldi. Other Chromium-based browsers may use different or shared native messaging manifest locations, so they need browser-specific verification before being added safely.
|
||||
- **Linux and macOS only** — Windows native messaging paths are not yet handled.
|
||||
|
||||
Reference in New Issue
Block a user