#19
feat(dsl): add upload action for file input via CDP setFileInputFiles
Summary
- Adds
StepUploadtype to the DSL for file upload actions via CDPDOM.setFileInputFiles - Adds
uploadtoVALID_ACTIONS,KNOWN_STEP_KEYS, andvalidateStepin config.ts - Implements
case "upload":inrunner.tsusingexistsSyncvalidation + CDP file input - Adds
formatStepsupport 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 testpasses
🤖 Generated with Claude Code
Someone is attempting to deploy a commit to the Vercel Labs Team on Vercel.
A member of the Team first needs to authorize it.