google-chrome-devtools - 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?
解决方案
推荐阅读
- iis - 创建证书让我们用 iis 加密
- javascript - 如何确定何时调用 mobx 计算变量。?
- php - 如何从 gcloud 数据存储中检索有序数据(使用 php)?
- mysql - 我正在使用 SimpleDateFormat 将字符串更改为 UTC 中的日期格式和 serverTimezone 但日期提前 1 天保存
- restsharp - 使用 RestSharp 正确执行 DELETE
- android - 运行 android 仪器测试时等待进程出现超时
- mysql - 如何从 sql 文件中播种 laravel(包含指向其他 sql 文件的链接)
- c++ - 为什么带有指针参数的成员函数需要指向指针的指针?
- multithreading - 使用 Visual Studio Code 调试 ZSim
- python - 如何使用 antiword 将多个 .doc 文件转换为 .docx?