Skip to content

docs(#234): add no-service expected-output note#249

Merged
aaronlab merged 1 commit into
aaronlab:mainfrom
toby-bridges:fix/issue-234-docs-add-expected-output-notes-for-no-se
May 11, 2026
Merged

docs(#234): add no-service expected-output note#249
aaronlab merged 1 commit into
aaronlab:mainfrom
toby-bridges:fix/issue-234-docs-add-expected-output-notes-for-no-se

Conversation

@toby-bridges

Copy link
Copy Markdown
Contributor

Summary

Fixes #234 by adding a short expected-output note for the deterministic Stagehand no-service example in examples/README.md.

  • add a compact verification recipe next to the no-service example guidance
  • name the expected run title shown by list --limit 5
  • name the two successful step labels shown by show <run_id>

Verification

I used a local source-checkout equivalent of the issue's suggested commands:

PYTHONPATH=. .venv/bin/python -m pytest -q
BROWSERTRACE_HOME=/tmp/browsertrace-demo PYTHONPATH=. python3.12 examples/stagehand_wrapper_example.py
BROWSERTRACE_HOME=/tmp/browsertrace-demo PYTHONPATH=. python3.12 -m browsertrace.cli list --limit 5
BROWSERTRACE_HOME=/tmp/browsertrace-demo PYTHONPATH=. python3.12 -m browsertrace.cli show a06c3159

Observed local verification result:

  • list --limit 5 showed demo: stagehand checkout flow
  • show a06c3159 showed two successful steps:
    • act: click the checkout button
    • extract: extract the order total

Notes

  • This is a docs-only change in examples/README.md.
  • I used an isolated BROWSERTRACE_HOME so the example run did not mix with any existing local traces.

@aaronlab aaronlab merged commit a581a4d into aaronlab:main May 11, 2026
4 checks passed
@aaronlab

Copy link
Copy Markdown
Owner

Thanks, this is merged.

I verified the docs-only change locally with:

git diff --check main...HEAD
uv run --python 3.11 --extra dev pytest tests/test_metadata.py -q
BROWSERTRACE_HOME=/tmp/browsertrace-pr249 uv run --python 3.11 python examples/stagehand_wrapper_example.py
BROWSERTRACE_HOME=/tmp/browsertrace-pr249 uv run --python 3.11 python -m browsertrace.cli list --limit 5
BROWSERTRACE_HOME=/tmp/browsertrace-pr249 uv run --python 3.11 python -m browsertrace.cli show 3f041ee374cd4630ba764a17530dcb09

The example produced demo: stagehand checkout flow and the two expected successful steps:

  • act: click the checkout button
  • extract: extract the order total

Main CI after merge is also green. Appreciate the focused PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: add expected-output notes for no-service examples

2 participants