From 67827f920299e724545daa1958ce3c560722c7f4 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Thu, 6 Jun 2024 05:03:43 +0530 Subject: [PATCH] feat: create a new Set object to store unique attribute values --- server/src/workflow-management/selector.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/server/src/workflow-management/selector.ts b/server/src/workflow-management/selector.ts index 22c02814..e811db3f 100644 --- a/server/src/workflow-management/selector.ts +++ b/server/src/workflow-management/selector.ts @@ -625,8 +625,14 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => { formSelector, }; } - + function genAttributeSet(element: HTMLElement, attributes: string[]) { + return new Set( + + ); + } + + }; @@ -635,3 +641,4 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => { +