feat: handle parent and child selectors
This commit is contained in:
@@ -792,7 +792,7 @@ export const getNonUniqueSelectors = async (page: Page, coordinates: Coordinates
|
||||
};
|
||||
}, coordinates);
|
||||
|
||||
return selectors || {};
|
||||
return selectors || { generalSelector: '', childSelectors: [] };
|
||||
} catch (error) {
|
||||
console.error('Error in getNonUniqueSelectors:', error);
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user