Install
openclaw skills install @psyb0t/go-browser-useWrites Go code with go-browser-use (package browseruse, github.com/psyb0t/go-browser-use), an unofficial generated client for the Browser Use Cloud API v4. Use when a Go program creates or polls Browser Use agent runs, manages sessions, queues, workspaces, files, browsers, profiles, extensions or integrations, or when a project imports github.com/psyb0t/go-browser-use.
openclaw skills install @psyb0t/go-browser-useUnofficial, typed Go client for the Browser Use Cloud API v4, in package browseruse at the module root. Read references/setup.md before writing an integration, for authentication, operation names, pagination, and response handling.
BROWSER_USE_API_KEY from the caller's environment or secret store. Set X-Browser-Use-API-Key in a WithRequestEditorFn. Never hardcode or log credentials, task contents, secret bindings, CDP URLs, or presigned URLs.https://api.browser-use.com/api/v4. Use an HTTP client with a timeout or a context deadline.github.com/psyb0t/go-browser-use.AGENTS.md for the generation pipeline instead.The examples cover a few calls. Every operation in the spec has a generated method, and the spec's descriptions are on them as Go doc comments. Look names and fields up instead of guessing. After go get github.com/psyb0t/go-browser-use, from inside your module:
go doc github.com/psyb0t/go-browser-use ClientWithResponsesInterface # every endpoint method
go doc github.com/psyb0t/go-browser-use ListRunsRunsGetParams # one method, params type or model
go doc -all github.com/psyb0t/go-browser-use # the whole package
The same documentation is at https://pkg.go.dev/github.com/psyb0t/go-browser-use.
Method names come from the spec's operation IDs, which keep the resource and HTTP method suffixes (ListRunsRunsGet). <OperationId>WithResponse takes the context, then the path parameters in order, then *<OperationId>Params when the operation has query or header parameters, then the request body when it has one. The JSON200 field (or JSON201 and so on, per declared status) holds the decoded body; it is nil for any other status.
browseruse.NewClientWithResponses with the v4 base URL, WithRequestEditorFn authentication, and appropriate HTTP timeouts.httptest server. Stop when the requested call compiles and its method, path, auth, request body, and response handling pass the caller's tests.The README usage example also lives in example_test.go. Optional nil pointers omit fields; explicit JSON null resets require a raw-body method. Cost responses stay decimal strings.