chore: customAction description

This commit is contained in:
karishmas6
2024-06-08 00:12:59 +05:30
parent 13c9aeb89d
commit 5f4cbe1e93

View File

@@ -276,7 +276,12 @@ export class WorkflowGenerator {
await this.addPairToWorkflowAndNotifyClient(pair, page);
};
/**
* Generates a pair for the custom action event.
* @param action The type of the custom action.
* @param settings The settings of the custom action.
* @param page The page to use for obtaining the needed data.
*/
public customAction = async (action: CustomActions, settings: any, page: Page) => {
const pair: WhereWhatPair = {
where: { url: this.getBestUrl(page.url())},