feat: rm page console log
This commit is contained in:
@@ -302,9 +302,6 @@ export const getElementInformation = async (
|
|||||||
);
|
);
|
||||||
return elementInfo;
|
return elementInfo;
|
||||||
} else {
|
} else {
|
||||||
page.on('console', msg => {
|
|
||||||
console.log(`Browser console: ${msg.text()}`);
|
|
||||||
});
|
|
||||||
const elementInfo = await page.evaluate(
|
const elementInfo = await page.evaluate(
|
||||||
async ({ x, y }) => {
|
async ({ x, y }) => {
|
||||||
const getDeepestElementFromPoint = (x: number, y: number): HTMLElement | null => {
|
const getDeepestElementFromPoint = (x: number, y: number): HTMLElement | null => {
|
||||||
|
|||||||
Reference in New Issue
Block a user