Skip to content

Commit a7192f3

Browse files
committed
readme update
1 parent 4682cdf commit a7192f3

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ Create an API key from the [Kernel dashboard](https://dashboard.onkernel.com).
179179
- `kernel browsers delete <id>` - Delete a browser
180180
- `-y, --yes` - Skip confirmation prompt
181181
- `kernel browsers view <id>` - Get live view URL for a browser
182+
- `--live` - Show live terminal view of browser (requires iTerm2, Kitty, or Ghostty)
183+
- `--interval <duration>` - Refresh interval for live view (default: 100ms)
182184

183185
### Browser Pools
184186

@@ -302,7 +304,8 @@ Create an API key from the [Kernel dashboard](https://dashboard.onkernel.com).
302304
- `--y <coordinate>` - Y coordinate (required)
303305
- `--hold-key <key>` - Modifier keys to hold (repeatable)
304306
- `kernel browsers computer screenshot <id>` - Capture a screenshot
305-
- `--to <path>` - Output file path for the PNG image (required)
307+
- `--to <path>` - Output file path for the PNG image
308+
- `--display` - Display screenshot inline in terminal (requires iTerm2, Kitty, or Ghostty)
306309
- `--x <coordinate>` - Top-left X for region capture (optional)
307310
- `--y <coordinate>` - Top-left Y for region capture (optional)
308311
- `--width <pixels>` - Region width (optional)
@@ -459,6 +462,12 @@ kernel browsers delete browser123 --yes
459462
# Get live view URL
460463
kernel browsers view browser123
461464

465+
# Show live view in terminal (iTerm2, Kitty, or Ghostty) - press Ctrl+C to exit
466+
kernel browsers view browser123 --live
467+
468+
# Show live view with custom refresh rate
469+
kernel browsers view browser123 --live --interval 200ms
470+
462471
# Stream browser logs
463472
kernel browsers logs stream my-browser --source supervisor --follow --supervisor-process chromium
464473

@@ -483,12 +492,18 @@ kernel browsers computer click-mouse my-browser --x 100 --y 200 --num-clicks 2 -
483492
# Move the mouse to coordinates (500, 300)
484493
kernel browsers computer move-mouse my-browser --x 500 --y 300
485494

486-
# Take a full screenshot
495+
# Take a full screenshot and save to file
487496
kernel browsers computer screenshot my-browser --to screenshot.png
488497

489498
# Take a screenshot of a specific region
490499
kernel browsers computer screenshot my-browser --to region.png --x 0 --y 0 --width 800 --height 600
491500

501+
# Display screenshot inline in terminal (iTerm2, Kitty, or Ghostty)
502+
kernel browsers computer screenshot my-browser --display
503+
504+
# Display and save screenshot
505+
kernel browsers computer screenshot my-browser --display --to screenshot.png
506+
492507
# Type text in the browser
493508
kernel browsers computer type my-browser --text "Hello, World!"
494509

0 commit comments

Comments
 (0)