TBSP application

Browser automation and local previews

When an attached desktop client provides the browser capability, the agent can open a page, inspect its accessibility snapshot, interact with controls, and take screenshots to…

When an attached desktop client provides the browser capability, the agent can open a page, inspect its accessibility snapshot, interact with controls, and take screenshots to verify a UI. Availability depends on the client build and deployment; a remote conversation alone does not supply a local browser.

Verify a local application

  1. Attach the workstation folder containing the application.
  2. Ask the agent to start the repository's actual development command and open its local preview. Include the behavior you want checked.
  3. Have it inspect the page, interact with the relevant controls, and inspect the resulting state. A screenshot records appearance; interaction verifies what the controls do.
  4. Review the observed result and any failure reported by the browser or application.

The browser runs on the attached machine, so its loopback addresses refer to that machine. A service started in a remote sandbox is not automatically the same localhost that the browser can reach.

A local preview is a loopback application served by your development process. The session's browser-preview control opens one directly: enter the localhost URL and choose Open.

The Open a preview dialog, with a localhost URL and the Open button

A localhost page rendered in the in-app browser preview, with a comment being added

An ordinary external link opens through the external-browser flow. Tell the agent which target you want; do not assume opening a public page establishes access to a local server.

Where supported, browser checks can use different viewport sizes or color schemes. Ask for the relevant state—such as a narrow screen or dark mode—along with the interaction being tested.

Availability and recovery

If browser tools are unavailable, verify the workstation attachment and desktop capability first. If navigation fails, check that the development server is listening on the attached machine and inspect its output. If a control cannot be found, inspect a fresh page snapshot rather than reusing a stale element reference.

Browser interactions can change the application being tested. Review permission prompts for actions that require approval; Approvals and remembered choices applies to the agent's work. Use Terminals and shell execution for the local process that serves the preview.

On this page