#19

feat(dsl): add upload action for file input via CDP setFileInputFiles

Openrajivpoddarwants to merge intofrom

Summary

  • Adds StepUpload type to the DSL for file upload actions via CDP DOM.setFileInputFiles
  • Adds upload to VALID_ACTIONS, KNOWN_STEP_KEYS, and validateStep in config.ts
  • Implements case "upload": in runner.ts using existsSync validation + CDP file input
  • Adds formatStep support for human-readable upload step display
  • Includes unit tests for config validation and runner execution

Use Case

Enables WebReel tutorial scripts to automate file uploads (e.g., uploading audio/document files) as part of recorded browser demos.

Test plan

  • Config validation tests pass for upload action
  • Runner test validates CDP setFileInputFiles call
  • bun test passes

🤖 Generated with Claude Code

Activity

2
vercel[bot]8mo ago

Someone is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.