feat(actions): add scroll

This commit is contained in:
Gergő Móricz
2024-09-20 21:41:53 +02:00
parent 3dd912ec91
commit d663bbf0ca
3 changed files with 11 additions and 1 deletions
+4 -1
View File
@@ -99,7 +99,10 @@ export type Action = {
} | {
type: "pressKey",
key: string,
};;
} | {
type: "scroll",
direction: "up" | "down",
};
export interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchema extends (Action[] | undefined) = undefined> extends CrawlScrapeOptions {
extract?: {