chore: lint

This commit is contained in:
karishmas6
2024-08-07 05:32:00 +05:30
parent b185686ff9
commit 3111757d82

View File

@@ -111,7 +111,7 @@ export const getElementInformation = async (
// console.log(`Element innerText: ${elementInfo.innerText}`);
// }
// }
return elementInfo;
} catch (error) {
const { message, stack } = error as Error;
@@ -760,7 +760,7 @@ export const getNonUniqueSelectors = async (page: Page, coordinates: Coordinates
return {
generalSelector,
};
}, coordinates);
return selectors || {};