<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sz-chrome-remote-extension.git/test-suite/unit/user-window.test.mjs, branch master</title>
<subtitle>pi-chrome, patched to drive a signed-in browser on another host through a broker, with an MCP server
</subtitle>
<id>https://git.soarez.net/sz/sz-chrome-remote-extension.git/atom?h=master</id>
<link rel='self' href='https://git.soarez.net/sz/sz-chrome-remote-extension.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/sz-chrome-remote-extension.git/'/>
<updated>2026-11-14T09:15:34+00:00</updated>
<entry>
<title>tabs: one window for every agent; inactive tabs take input; background off by default</title>
<updated>2026-11-14T09:15:34+00:00</updated>
<author>
<name>Igor Soarez</name>
<email>igor@soarez.org</email>
</author>
<published>2026-11-14T09:15:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.soarez.net/sz/sz-chrome-remote-extension.git/commit/?id=a76fbc3b9b82038ab44c04d6379cc2d45e5cecd8'/>
<id>urn:sha1:a76fbc3b9b82038ab44c04d6379cc2d45e5cecd8</id>
<content type='text'>
Measured in Brave on 2026-11-14: an inactive tab takes trusted CDP clicks,
key presses, text and mouse moves, and Page.captureScreenshot renders it
live. Only mouseWheel hangs, waiting for a frame. The upstream guard that
refused input to every hidden page was wrong for inactive tabs, and it is
what made a window per session look necessary.

- New sessions' tabs open inactive in the user's last focused window, in
  the session's tab group; a window is created only when none is open.
- New groups start collapsed, unless their tab is the one showing, and
  expand when a tab in them is brought forward. Existing groups keep the
  user's setting.
- Input is refused up front only in a minimized window (untested there).
- chrome_scroll scrolls hidden pages by script instead of the wheel.
- Focus emulation on attach, so blur-sensitive menus stay open.
- Background mode is off by default. Calls still default to background;
  background:false or chrome_tab activate brings a tab forward.
- Agent guidance, tool descriptions and docs say so.
</content>
</entry>
</feed>
