Support more action types: keypress, scroll (#2127)
This commit is contained in:
@@ -177,6 +177,8 @@ export const ActionTypes = {
|
|||||||
SolveCaptcha: "solve_captcha",
|
SolveCaptcha: "solve_captcha",
|
||||||
extract: "extract",
|
extract: "extract",
|
||||||
ReloadPage: "reload_page",
|
ReloadPage: "reload_page",
|
||||||
|
KeyPress: "keypress",
|
||||||
|
Scroll: "scroll",
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export type ActionType = (typeof ActionTypes)[keyof typeof ActionTypes];
|
export type ActionType = (typeof ActionTypes)[keyof typeof ActionTypes];
|
||||||
@@ -194,6 +196,8 @@ export const ReadableActionTypes: {
|
|||||||
solve_captcha: "Solve Captcha",
|
solve_captcha: "Solve Captcha",
|
||||||
extract: "Extract Data",
|
extract: "Extract Data",
|
||||||
reload_page: "Reload Page",
|
reload_page: "Reload Page",
|
||||||
|
keypress: "Press Keys",
|
||||||
|
scroll: "Scroll",
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Option = {
|
export type Option = {
|
||||||
|
|||||||
Reference in New Issue
Block a user