You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Description
This PR adds a new browsers computer set-cursor command to the CLI that
allows users to show or hide the mouse cursor in browser computer
sessions. This is useful for automations where cursor visibility may
interfere with the user experience or for recording purposes. The
implementation includes a new SetCursorVisibility method in the
BrowserComputerService interface, proper error handling for invalid
inputs and non-existent browsers, and updates the kernel-go-sdk from
v0.18.0 to v0.19.0 to support the new API endpoint.
## Tested
Tested locally it toggles cursor visibility terminal output is
<img width="560" height="90" alt="image"
src="https://github.com/user-attachments/assets/7c265462-7e77-4ef7-a4b9-69e9cd3cda60"
/>
computerSetCursor:=&cobra.Command{Use: "set-cursor <id|persistent-id>", Short: "Hide or show the cursor", Args: cobra.ExactArgs(1), RunE: runBrowsersComputerSetCursor}
1992
+
computerSetCursor.Flags().String("hidden", "", "Whether to hide the cursor: true or false")
0 commit comments