#Entering text in web page fields.
1 messages · Page 1 of 1 (latest)
Use a snapshot ref, not just the currently focused element.
There is no write subcommand in current OpenClaw docs/CLI. The ones you want are:
openclaw browser snapshot --interactive
openclaw browser type e12 "hello"
Or, if typing gets flaky, use fill instead:
openclaw browser fill --fields '[{"ref":"e12","value":"hello"}]'
A few gotchas:
- actions are ref-based, not focus-based
- CSS selectors are not supported for actions
- refs can change after navigation, so re-run
snapshotif needed - on
user/existing-session,type --slowlyis not supported, sofillis often safer
Docs:
If your local CLI shows different commands, paste openclaw --version and openclaw browser --help.
what causes sigkills and sessions to be unstable?
First thing, what does openclaw --version show?
In general, a SIGKILL means the process was hard-killed from outside, not that it exited cleanly. Common causes:
- OOM / memory pressure. If you see exit 137, that is the classic one.
- exec/harness timeout or cleanup
- container / VM / supervisor restart
- sandbox/policy kill
For the two system messages above, I would not treat that as “browser sessions are unstable” by itself. Those were --help commands that printed output, then the exec runner reaped them. That looks more like tool-runner cleanup than browser-control failure.
If you are seeing real instability on your own setup, please paste:
openclaw --version
openclaw status --all
openclaw gateway status
openclaw logs --follow
And if you're on a small VPS / container, definitely check RAM, because SIGKILL + flaky sessions is very often OOM.
Docs:
Cool, 2026.4.15 is recent enough, so this probably is not just “old version weirdness.”
If the only SIGKILLs you saw were those Discord system messages, I’d mostly ignore them. That looked like the exec runner cleaning up helper commands, not browser control exploding.
If the browser session itself is unstable, next please paste:
openclaw status --all
openclaw browser status
openclaw browser profiles
And tell me which profile you’re using:
openclaw(managed browser)user/existing-session- remote CDP / node host
Also, if logs show exit 137 or plain Killed, that’s usually OOM.
If you want, paste those 3 outputs and I’ll help narrow it down.
Yeah, on an M1 with 16 GB RAM, I would not blame memory first, unless you’re also running a hungry local model stack.
So I’d look at these instead:
user/existing-sessionprofile being flaky- gateway or browser restarts
- exec runner noise rather than a real browser crash
- macOS-specific process weirdness
If you’re using the managed openclaw profile, that is usually steadier than attaching to your live browser.
Can you paste:
openclaw browser status
openclaw browser profiles
openclaw status --all
And tell me whether you’re using:
openclawuser- custom remote CDP
If you’re on user, I’d also try this once:
openclaw browser --browser-profile openclaw start
openclaw browser --browser-profile openclaw tabs