chore: lint

This commit is contained in:
karishmas6
2024-09-03 09:44:58 +05:30
parent 01e57ee5aa
commit 497f29d4c4

View File

@@ -815,7 +815,6 @@ export const getChildSelectors = async (page: Page, parentSelector: string): Pro
return `${parentSelector} > ${elementSelector}`; return `${parentSelector} > ${elementSelector}`;
} }
function getAllDescendantSelectors(element: HTMLElement, stopAtParent: HTMLElement | null): string[] { function getAllDescendantSelectors(element: HTMLElement, stopAtParent: HTMLElement | null): string[] {
let selectors: string[] = []; let selectors: string[] = [];
const children = Array.from(element.children) as HTMLElement[]; const children = Array.from(element.children) as HTMLElement[];