Skip to content

Commit 50d8e47

Browse files
authored
Enhance CLI documentation for browsers create command (#336)
<span data-mesa-description="start"></span> ## TL;DR Documented the new `kernel browsers create` CLI command. ## Why we made these changes To provide users with clear instructions and options for the new browser creation command, improving usability and discoverability. ## What changed? - `packages/cli/README.md`: Updated to include documentation for the `kernel browsers create` command, detailing options for persistence, stealth, and headless modes, along with usage examples. ## Validation - [ ] Manually reviewed the updated `README.md` for accuracy, clarity, and completeness of the new command's documentation. <span data-mesa-description="end"></span>
1 parent 15f0c6f commit 50d8e47

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ Create an API key from the [Kernel dashboard](https://dashboard.onkernel.com).
109109
### Browser Management
110110

111111
- `kernel browsers list` - List running browsers
112+
- `kernel browsers create` - Create a new browser session
113+
- `--persistence-id <id>` - Unique identifier for browser session persistence
114+
- `--stealth` - Launch browser in stealth mode to avoid detection
115+
- `--headless` - Launch browser without GUI access
112116
- `kernel browsers delete` - Delete a browser
113117
- `--by-persistent-id <id>` - Delete by persistent ID
114118
- `--by-id <id>` - Delete by session ID
@@ -161,6 +165,15 @@ kernel logs my-app --since 1h --with-timestamps
161165
# List all browsers
162166
kernel browsers list
163167

168+
# Create a new browser session
169+
kernel browsers create
170+
171+
# Create a persistent browser session
172+
kernel browsers create --persistence-id my-browser-session
173+
174+
# Create a headless browser in stealth mode
175+
kernel browsers create --headless --stealth
176+
164177
# Delete a persistent browser
165178
kernel browsers delete --by-persistent-id my-browser-session --yes
166179

0 commit comments

Comments
 (0)