feat: console log cleanup

This commit is contained in:
Rohit
2025-02-13 12:23:58 +05:30
parent 5207d7da6f
commit cd574194b0

View File

@@ -768,23 +768,6 @@ export class WorkflowGenerator {
* @returns {Promise<void>}
*/
public saveNewWorkflow = async (fileName: string, userId: number, isLogin: boolean) => {
for (const pair of this.workflowRecord.workflow) {
for (let i = 0; i < pair.what.length; i++) {
const condition = pair.what[i];
if (condition.action === 'press' && condition.args) {
const [selector, encryptedKey, type] = condition.args;
const key = decrypt(encryptedKey);
console.log(`Selector: ${selector}, Key: ${key}`);
}
if (condition.action === 'click' && condition.args) {
console.log("Click args: ", condition.args);
}
}
}
const recording = this.optimizeWorkflow(this.workflowRecord);
try {
this.recordingMeta = {