chore: -rm unique mode 1 log
This commit is contained in:
@@ -864,7 +864,6 @@ interface SelectorResult {
|
|||||||
export const getNonUniqueSelectors = async (page: Page, coordinates: Coordinates, listSelector: string): Promise<SelectorResult> => {
|
export const getNonUniqueSelectors = async (page: Page, coordinates: Coordinates, listSelector: string): Promise<SelectorResult> => {
|
||||||
try {
|
try {
|
||||||
if (!listSelector) {
|
if (!listSelector) {
|
||||||
console.log(`NON UNIQUE: MODE 1`)
|
|
||||||
const selectors = await page.evaluate(({ x, y }: { x: number, y: number }) => {
|
const selectors = await page.evaluate(({ x, y }: { x: number, y: number }) => {
|
||||||
function getNonUniqueSelector(element: HTMLElement): string {
|
function getNonUniqueSelector(element: HTMLElement): string {
|
||||||
let selector = element.tagName.toLowerCase();
|
let selector = element.tagName.toLowerCase();
|
||||||
|
|||||||
Reference in New Issue
Block a user