Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Merge pull request #881 from mendableai/fix/scroll-action
Nicolas219f4732a091
diff --cc apps/api/src/lib/entities.tsindex b13ddcdcd,435cf2b8c..9fa39cffa--- a/apps/api/src/lib/entities.ts+++ b/apps/api/src/lib/entities.ts@@@ -30,12 -30,10 +30,13 @@@ export type Action =key: string,} | {type: "scroll",- direction: "up" | "down"+ direction?: "up" | "down",+ selector?: string,} | {type: "scrape",+} | {+ type: "executeJavascript",+ script: string,}export type PageOptions = {diff --cc apps/js-sdk/firecrawl/src/index.tsindex 45c67cf8b,8bd8aaca2..0bd99457d--- a/apps/js-sdk/firecrawl/src/index.ts+++ b/apps/js-sdk/firecrawl/src/index.ts@@@ -108,12 -106,10 +108,13 @@@ export type Action =key: string,} | {type: "scroll",- direction: "up" | "down",+ direction?: "up" | "down",+ selector?: string,} | {type: "scrape",+} | {+ type: "executeJavascript",+ script: string,};export interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchema extends (Action[] | undefined) = undefined> extends CrawlScrapeOptions {