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
Copy file name to clipboardExpand all lines: skills/steel-browser/references/steel-browser-lifecycle.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,9 @@ Main flags:
51
51
-`--credentials` — enable credential injection for the session
52
52
-`--profile <name>` — load a named browser profile into the session
53
53
-`--update-profile` — save session state back to the profile on end
54
+
-`--inactivity-timeout <ms>` — release the session after this much idle time (no CDP command or remote input). Defaults to 120000 (2 min); pass `0` to disable.
55
+
56
+
Note: sessions created via the CLI auto-release after ~2 minutes of inactivity by default. If you expect a session to sit idle between manual steps, pass `--inactivity-timeout 0` (disable) or a larger value at `start`, and check `inactivity_timeout` in the start output.
54
57
55
58
Parse these output fields:
56
59
@@ -59,6 +62,7 @@ Parse these output fields:
59
62
-`name`: session alias if provided
60
63
-`live_url`: live-view URL when available
61
64
-`connect_url`: display-safe URL with sensitive values redacted
65
+
-`inactivity_timeout`: idle-release limit when set (human output); `inactivityTimeoutMs` in JSON
62
66
63
67
Use `id` for stable machine parsing. Treat `connect_url` as display metadata, not a raw credential.
"warning: --inactivity-timeout ({inactivity}ms) >= --session-timeout ({timeout}ms); inactivity timeout has no effect because the session timeout elapses first"
90
+
);
91
+
}
85
92
86
93
// If a daemon is already running for this session name, stop it first.
87
94
// `start` always creates a fresh session — use `steel browser sessions`
0 commit comments