profile_stop
Stop an identity's running browser to free resources and close exposed login state while preserving stored cookies and logins; works for warm sessions and desktop-launched windows.
Instructions
Stop an identity's browser, however it was started.
Cookies and login state live in the identity's own storage and survive the stop; whatever was typed into an open form does not. Stop identities you are done with — a running identity holds a warm browser and keeps its login state exposed.
Two things can be running for one identity and this closes either: the warm session profile_start opens (the daemon drives it), and a window the desktop app launched on its own. The session is closed first; if there is none, the identity-level stop is used instead, which also terminates a launched window and is a no-op on an identity that is already idle.
Args: name: identity name, exactly as profiles_list reports it.
Returns {name, stopped, closed}: stopped is False when the identity was
already idle, and closed lists what was actually shut down.
Fails with a readable message if the identity does not exist, or if the daemon is not running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |