feat(actions): add typeText, pressKey, fix playwright screenshot/waitFor
This commit is contained in:
@@ -93,7 +93,13 @@ export type Action = {
|
||||
} | {
|
||||
type: "screenshot",
|
||||
fullPage?: boolean,
|
||||
};
|
||||
} | {
|
||||
type: "typeText",
|
||||
text: string,
|
||||
} | {
|
||||
type: "pressKey",
|
||||
key: string,
|
||||
};;
|
||||
|
||||
export interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchema extends (Action[] | undefined) = undefined> extends CrawlScrapeOptions {
|
||||
extract?: {
|
||||
|
||||
Reference in New Issue
Block a user