chore: onChangeUrl description

This commit is contained in:
karishmas6
2024-06-08 00:09:49 +05:30
parent d03d7752c2
commit f97b5f282f

View File

@@ -229,7 +229,12 @@ export class WorkflowGenerator {
await this.addPairToWorkflowAndNotifyClient(pair, page);
};
/**
* Generates a pair for the change url event.
* @param newUrl The new url to be changed to.
* @param page The page to use for obtaining the needed data.
* @returns {Promise<void>}
*/
public onChangeUrl = async(newUrl: string, page: Page) => {
this.generatedData.lastUsedSelector = '';
const pair: WhereWhatPair = {