feat: sort all possible combinations of selectors from the stack

This commit is contained in:
karishmas6
2024-06-05 22:16:18 +05:30
parent 4e2c80d056
commit 76ff3392d3

View File

@@ -250,6 +250,12 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => {
return path;
}
function findUniquePath(
stack: Node[][],
fallback?: () => Path | null
): Path | null {
const paths = sort(combinations(stack));
};