Skip to content

Accept Chrome recorder JSON without a trailing extract step - #173

Open
cheos71 wants to merge 1 commit into
browser-use:mainfrom
cheos71:fix/accept-chrome-recorder-exports
Open

Accept Chrome recorder JSON without a trailing extract step#173
cheos71 wants to merge 1 commit into
browser-use:mainfrom
cheos71:fix/accept-chrome-recorder-exports

Conversation

@cheos71

@cheos71 cheos71 commented Aug 29, 2026

Copy link
Copy Markdown

Summary

  • Chrome side-panel Save/Quick Download writes workflows that end on click/input and use targetText. WorkflowDefinitionSchema rejected those files, so run-workflow-no-ai could not load a recording it just produced.
  • Drop the load-time “must end with extract” validator (extract remains the right generation convention for run-as-tool, not a recorder requirement).
  • Accept targetText as an alias for target_text so semantic replay sees the captured label.

Test plan

  • Load a click-ending Chrome-shaped payload (targetText) via WorkflowDefinitionSchema.model_validate
  • target_text snake_case still loads
  • Extract-ending workflows still load
  • python cli.py run-workflow-no-ai path/to/sidepanel-download.json on a recording that was not manually given an extract step

Made with Cursor


Summary by cubic

Fixes loading of Chrome recorder JSON exports so run-workflow-no-ai can replay recordings that end on click/input instead of extract. Now accepts targetText as an alias for target_text.

  • Drops the load-time validator that required a trailing extract step; extract remains the recommended generation convention for run-as-tool.

Written for commit 5fdae8b. Summary will update on new commits.

Review in cubic

The side-panel download ends on click/input and uses targetText, so
run-workflow-no-ai could not load its own recordings.

Co-authored-by: Cursor <cursoragent@cursor.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Re-trigger cubic

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.

1 participant