Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/browser-use-debugging.html
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ <h2 id="compare-run-metadata-checklist">Compare failed and successful Browser Us
<pre><code>browsertrace list
browsertrace compare &lt;failed_run_id&gt; &lt;success_run_id&gt;
browsertrace compare &lt;failed_run_id&gt; &lt;success_run_id&gt; --json</code></pre>
<p>While the local BrowserTrace UI is running, local wrappers and tools can request the same first-divergence payload through the web API:</p>
<pre><code>curl http://127.0.0.1:3000/api/compare/&lt;failed_run_id&gt;/&lt;success_run_id&gt;</code></pre>
<p>Example compare output:</p>
<pre><code>$ browsertrace compare failed-local-html-upload good-local-html-upload
First divergent step: 3
Expand Down
6 changes: 6 additions & 0 deletions tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -3995,6 +3995,12 @@ def test_browser_use_guide_documents_compare_run_metadata_checklist():
1,
)[0]
assert "browsertrace compare &lt;failed_run_id&gt; &lt;success_run_id&gt;" in section
assert (
"curl http://127.0.0.1:3000/api/compare/&lt;failed_run_id&gt;/&lt;success_run_id&gt;"
in section
)
assert "local BrowserTrace UI is running" in section
assert "same first-divergence payload" in section
assert "first divergent step" in section
assert "Example compare output:" in section
assert "$ browsertrace compare failed-local-html-upload good-local-html-upload" in section
Expand Down