Improving this exported trace demo or a debugging note? Use the First PR Recipe to keep the first contribution small and reviewable.

demo: Browser Use local HTML upload navigation failure

id=161a3ba7-0894-47fd-b270-47bc75a3b730 · status=failed · 4 steps
RuntimeError: Browser Use navigated away from the upload page; upload preview never appeared
step 0
STEP 0
open Browser Use upload page ok
https://app.example.test/upload
Model input
{"task": "Upload the local HTML report with Browser Use.", "browser_state": {"url": "about:blank", "title": "New tab"}}
Model output
{"thought": "Open the app upload page before attaching the local file.", "action": "go_to_url", "url": "https://app.example.test/upload"}
step 1
STEP 1
select local HTML fixture ok
https://app.example.test/upload
Model input
{"browser_state": {"url": "https://app.example.test/upload", "title": "Upload report"}, "file_input": "input[type=file]", "candidate_file": "file:///tmp/browsertrace-report.html"}
Model output
{"thought": "The upload control needs the local HTML file.", "action": "upload_file", "path": "file:///tmp/browsertrace-report.html", "expected": "preview renders uploaded HTML"}
step 2
STEP 2
Browser Use navigates to local file path ok
file:///tmp/browsertrace-report.html
Model input
{"previous_url": "https://app.example.test/upload", "selected_action": "upload_file", "path": "file:///tmp/browsertrace-report.html"}
Model output
{"action": "navigate", "url": "file:///tmp/browsertrace-report.html", "risk": "The local file path was treated as a navigation target instead of an upload payload."}
step 3
STEP 3
assert uploaded file preview error
file:///tmp/browsertrace-report.html
RuntimeError: Browser Use navigated away from the upload page; upload preview never appeared
Model input
{"expected_url": "https://app.example.test/upload", "actual_url": "file:///tmp/browsertrace-report.html", "expected_preview": "browsertrace-report.html"}
Model output
{"status": "failed", "missing": "uploaded file preview", "actual_url": "file:///tmp/browsertrace-report.html"}