diff --git a/server/src/workflow-management/selector.ts b/server/src/workflow-management/selector.ts index 38905a1a..aaed5c73 100644 --- a/server/src/workflow-management/selector.ts +++ b/server/src/workflow-management/selector.ts @@ -635,7 +635,11 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => { ); } - + function isAttributesDefined(element: HTMLElement, attributes: string[]) { + return genAttributeSet(element, attributes).size > 0; + } + + };