feat(ts): interface for nonUniqueSelectors result

This commit is contained in:
karishmas6
2024-09-02 20:21:53 +05:30
parent 06292ef9ed
commit 3538a8e70f

View File

@@ -721,6 +721,10 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => {
return null;
};
interface NonUniqueSelectorsResult {
generalSelector: string;
childSelectors: string[];
}
/**
* Returns the best non-unique css {@link Selectors} for the element on the page.