feat(ts): interface for nonUniqueSelectors result
This commit is contained in:
@@ -721,6 +721,10 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => {
|
|||||||
return null;
|
return null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
interface NonUniqueSelectorsResult {
|
||||||
|
generalSelector: string;
|
||||||
|
childSelectors: string[];
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the best non-unique css {@link Selectors} for the element on the page.
|
* Returns the best non-unique css {@link Selectors} for the element on the page.
|
||||||
|
|||||||
Reference in New Issue
Block a user