feat: !push parentSelector

This commit is contained in:
amhsirak
2024-12-17 02:48:38 +05:30
parent 94df794040
commit 52b767188e

View File

@@ -1015,7 +1015,6 @@ export const getChildSelectors = async (page: Page, parentSelector: string): Pro
const childPath = getSelectorPath(child);
if (childPath) {
selectors.push(childPath); // Add direct child path
selectors.push(parentSelector)
selectors = selectors.concat(getAllDescendantSelectors(child)); // Recursively process descendants
}
}