feat: sort all possible combinations of selectors from the stack
This commit is contained in:
@@ -250,6 +250,12 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => {
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function findUniquePath(
|
||||||
|
stack: Node[][],
|
||||||
|
fallback?: () => Path | null
|
||||||
|
): Path | null {
|
||||||
|
const paths = sort(combinations(stack));
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user