diff --git a/apps/js-sdk/firecrawl/src/index.ts b/apps/js-sdk/firecrawl/src/index.ts index bbe934fe..7ad5a5f0 100644 --- a/apps/js-sdk/firecrawl/src/index.ts +++ b/apps/js-sdk/firecrawl/src/index.ts @@ -90,7 +90,8 @@ export interface CrawlScrapeOptions { export type Action = { type: "wait", - milliseconds: number, + milliseconds?: number, + selector?: string, } | { type: "click", selector: string, @@ -106,6 +107,8 @@ export type Action = { } | { type: "scroll", direction: "up" | "down", +} | { + type: "scrape", }; export interface ScrapeParams extends CrawlScrapeOptions {