feat: rm page console log

This commit is contained in:
Rohit
2025-04-23 17:22:07 +05:30
parent 540c9ec709
commit 8ef5348f14

View File

@@ -302,9 +302,6 @@ export const getElementInformation = async (
);
return elementInfo;
} else {
page.on('console', msg => {
console.log(`Browser console: ${msg.text()}`);
});
const elementInfo = await page.evaluate(
async ({ x, y }) => {
const getDeepestElementFromPoint = (x: number, y: number): HTMLElement | null => {