From b4f8cbb90102031ae62071c6cbb2adabaa761562 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 3 Sep 2024 09:47:40 +0530 Subject: [PATCH] fix: remove unused code --- server/src/workflow-management/selector.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/server/src/workflow-management/selector.ts b/server/src/workflow-management/selector.ts index a91a4865..dfd4c452 100644 --- a/server/src/workflow-management/selector.ts +++ b/server/src/workflow-management/selector.ts @@ -102,21 +102,6 @@ export const getElementInformation = async ( }, { x: coordinates.x, y: coordinates.y }, ); - - // if (elementInfo) { - // if (elementInfo.tagName === 'A') { - // if (elementInfo.innerText) { - // console.log(`Link text: ${elementInfo.innerText}, URL: ${elementInfo.url}`); - // } else { - // console.log(`URL: ${elementInfo.url}`); - // } - // } else if (elementInfo.tagName === 'IMG') { - // console.log(`Image URL: ${elementInfo.imageUrl}`); - // } else { - // console.log(`Element innerText: ${elementInfo.innerText}`); - // } - // } - return elementInfo; } catch (error) { const { message, stack } = error as Error;