Skip to content

Add google-drive upload domain skill#439

Open
CrestViewFl wants to merge 1 commit into
browser-use:mainfrom
CrestViewFl:google-drive-upload-skill
Open

Add google-drive upload domain skill#439
CrestViewFl wants to merge 1 commit into
browser-use:mainfrom
CrestViewFl:google-drive-upload-skill

Conversation

@CrestViewFl

@CrestViewFl CrestViewFl commented Jun 12, 2026

Copy link
Copy Markdown

Adds domain-skills/google-drive/upload.md — the working flow for uploading a local file into a Drive folder from an attached session.

Field-tested on a 75 MB mp4. Documents:

  • Page.setInterceptFileChooserDialog + fileChooserOpened.backendNodeIdDOM.setFileInputFiles (Drive has no persistent file inputs; the New→File upload picker is native and undriveable otherwise)
  • the guidedhelpid="new_menu_button" stable hook
  • the stale-invisible-menus trap ([role=menuitem] matches closed menus — filter by visible rect)
  • upload-toast polling for completion, API-side size verification
  • why Drive keyboard shortcuts (Shift+U / c-then-u) don't fire via CDP on a cold folder view
  • restoring the chooser interception so the user's own pickers keep working

🤖 Generated with Claude Code


Summary by cubic

Adds domain-skills/google-drive/upload.md, a step-by-step skill for uploading a local file into a Google Drive folder by intercepting the native file chooser via CDP. Covers stable selectors, event handling, completion polling, and pitfalls; field-tested on a 75 MB file.

  • New Features
    • Reliable flow using Page.setInterceptFileChooserDialog and DOM.setFileInputFiles from fileChooserOpened.backendNodeId.
    • Stable hooks: guidedhelpid="new_menu_button"; filter visible [role=menuitem].
    • Completion via upload-toast polling; optional API verification by size.
    • Notes on restoring the chooser interception and why Drive shortcuts may not fire on a cold view.

Written for commit ee03662. Summary will update on new commits.

Review in cubic

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@browser-harness-review

Copy link
Copy Markdown

✅ Skill review passed

Reviewed 1 file(s) — no findings.

@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 1 file

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