Skip to content

add BrowserRun types#6771

Open
Refaerds wants to merge 1 commit into
cloudflare:mainfrom
Refaerds:maryna/browser-run
Open

add BrowserRun types#6771
Refaerds wants to merge 1 commit into
cloudflare:mainfrom
Refaerds:maryna/browser-run

Conversation

@Refaerds
Copy link
Copy Markdown

Summary

Adds TypeScript type definitions for the existing browser binding:

  • BrowserRun — abstract class with fetch() and overloaded quickAction() method supporting 8 action types
  • Action-specific option types: BrowserRunScreenshotOptions, BrowserRunPDFOptions, BrowserRunScrapeOptions, BrowserRunLinksOptions, BrowserRunSnapshotOptions, BrowserRunJsonOptions, BrowserRunMarkdownOptions, BrowserRunContentOptions
  • Quick action response types: BrowserRunContentSuccessResponse, BrowserRunLinksSuccessResponse, BrowserRunScrapeSuccessResponse, BrowserRunSnapshotSuccessResponse, BrowserRunJsonSuccessResponse, BrowserRunMarkdownSuccessResponse, BrowserRunErrorResponse, BrowserRunJsonErrorResponse

@Refaerds Refaerds requested review from a team as code owners May 19, 2026 11:19
@Refaerds Refaerds requested a review from jamesopstad May 19, 2026 11:19
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 19, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@Refaerds
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request May 19, 2026
Comment thread types/defines/browser-run.d.ts Outdated
@Refaerds Refaerds force-pushed the maryna/browser-run branch from b0e0f7d to 6490581 Compare May 19, 2026 13:40
@Refaerds Refaerds force-pushed the maryna/browser-run branch from 6490581 to a78db9a Compare May 20, 2026 07:33
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.

2 participants