feat: sibling / ancestor
This commit is contained in:
@@ -277,7 +277,11 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => {
|
|||||||
|
|
||||||
if (node.level === level - 1) {
|
if (node.level === level - 1) {
|
||||||
query = `${path[i].name} > ${query}`;
|
query = `${path[i].name} > ${query}`;
|
||||||
|
} else {
|
||||||
|
query = `${path[i].name} ${query}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user