#Have each session use its own browser tab

1 messages · Page 1 of 1 (latest)

broken dirge
#

I dont want unique profiles for each session using the openclaw profile is ok, but it seems like my agents always get in eachothers way when using the browser automation, is there some way to have them all use differnt windows or tabs so they donnt interfear with eachother? shuold i reach for a external service like browseruse?

bold heartBOT
#

You probably don’t need BrowserUse for this.

What’s happening is usually tab contention, not profile contention.
You can keep using one openclaw profile, but each session should “own” a tab via targetId.

Best practice (same profile, less interference):

  1. Session starts → open/select its own tab.
  2. Store that tab’s targetId.
  3. Pass that same targetId on every browser action (snapshot, navigate, act, etc).
  4. Never rely on “currently focused tab”.

OpenClaw docs call this out as deterministic tab control (target by targetId, not “last tab”):
https://docs.openclaw.ai/tools/browser

If you want hard isolation between sessions (still one gateway), use sandboxed browser per session:

  • agents.defaults.sandbox.scope: "session"
  • agents.defaults.sandbox.browser.enabled: true