feat: return first unique path found

This commit is contained in:
karishmas6
2024-06-05 22:28:15 +05:30
parent 1eeb73b93e
commit 1261994899

View File

@@ -262,7 +262,7 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => {
for (let candidate of paths) {
if (unique(candidate)) {
return candidate;
}
}