feat: define return type

This commit is contained in:
karishmas6
2024-09-02 22:37:25 +05:30
parent 9a68c219f4
commit 407917dfe1

View File

@@ -722,6 +722,10 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => {
};
interface SelectorResult {
generalSelector: string;
}
/**
* Returns the best non-unique css {@link Selectors} for the element on the page.
* @param page The page instance.