feat: check if path len is longer than 2 els & meets min optimization len

This commit is contained in:
karishmas6
2024-06-06 00:30:48 +05:30
parent ad61b2a0b1
commit 36c0af28c5

View File

@@ -438,7 +438,9 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => {
visited: new Map<string, boolean>(),
}
): Generator<Node[]> {
if (path.length > 2 && path.length > config.optimizedMinLength) {
}
}
function same(path: Path, input: Element) {