chore: -rm non unique mode 2 log

This commit is contained in:
amhsirak
2024-12-23 23:15:05 +05:30
parent e2bc45b163
commit bc88aa8280

View File

@@ -931,7 +931,6 @@ export const getNonUniqueSelectors = async (page: Page, coordinates: Coordinates
}, coordinates);
return selectors || { generalSelector: '' };
} else {
console.log(`NON UNIQUE: MODE 2`)
const selectors = await page.evaluate(({ x, y }: { x: number, y: number }) => {
function getNonUniqueSelector(element: HTMLElement): string {
let selector = element.tagName.toLowerCase();