首页 > 解决方案 > Chrome Puppeteer - See what puppeteer is sending to chrome websocket/console?

问题描述

Is there a way to grab or see exactly what chrome puppeteer is sending to/through the websocket?

For example, say I have this chrome Puppeteer command:

await page.mouse.click(112,106)

From reading the documentation here, it says puppeteer's mouse.click is a shortcut for mouse.move, mouse.down, and mouse.up.

I'm wanting to know exactly what commands and functions, and how it's sending it to chrome to react the way it does so I can try and implement it in some other scripts of mine.

Does anyone have any thoughts on how I can see this?

标签: google-chrome-devtoolspuppeteer

解决方案


推荐阅读