diff --git a/skills/browser/REFERENCE.md b/skills/browser/REFERENCE.md index 71827a4..ca06c67 100644 --- a/skills/browser/REFERENCE.md +++ b/skills/browser/REFERENCE.md @@ -182,6 +182,16 @@ browse select "#country" "United States" browse select "#tags" "javascript" "typescript" # multi-select ``` +#### `upload ` + +Upload file(s) to an `` element. Works with both local and remote Browserbase sessions (remote uses base64 injection). Supports ref-based selectors from snapshot. + +```bash +browse upload "#fileUpload" ./document.pdf # single file +browse upload @0-5 ./photo.png # using ref from snapshot +browse upload "#files" ./a.png ./b.png # multiple files +``` + #### `press ` Press a keyboard key or key combination. diff --git a/skills/browser/SKILL.md b/skills/browser/SKILL.md index 3c4e652..d1f70e2 100644 --- a/skills/browser/SKILL.md +++ b/skills/browser/SKILL.md @@ -80,6 +80,7 @@ browse click # Click element by ref from snapshot (e browse type # Type text into focused element browse fill # Fill input and press Enter browse select # Select dropdown option(s) +browse upload # Upload file(s) to browse press # Press key (Enter, Tab, Escape, Cmd+A, etc.) browse drag # Drag from one point to another browse scroll # Scroll at coordinates