Skip to content

Feedback wanted: Playwright + LLM trace fields #12

@aaronlab

Description

@aaronlab

BrowserTrace has a focused Playwright + LLM debugging guide:

https://aaronlab.github.io/browsertrace/playwright-llm-debugging.html

The current low-friction path is to call run.snapshot(page, ...) around the points where an LLM chooses the next browser action. That records the Playwright URL and screenshot plus optional model_input and model_output.

For public sharing, use:

browsertrace export <run_id> --public -o public.html

--public omits prompt/model I/O, screenshots, and URLs from the standalone HTML export.

I want feedback from people building LLM-guided Playwright scripts or browser agents:

  • Should BrowserTrace add a higher-level Playwright + LLM helper beyond run.snapshot?
  • What fields should it capture by default?
  • Do you want selector/action, DOM snippet, accessibility tree text, network errors, console errors, prompt/messages, model output, retries, or extracted data?
  • Are individual redaction flags enough, or should public-safe export support more fields?

Please comment with the shape of a real failure you have debugged and which context was missing from logs or Playwright Trace Viewer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededintegrationBrowser Use, Stagehand, Playwright, or agent-framework integrationlaunch-feedbackFeedback from launch, demos, or first-time users

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions