1
pengdachxx 177 天前
你这个日志是怎么看的,我还不晓得怎么看日志呢
|
2
pengdachxx 177 天前
是看的那个事件吗
|
3
Sanshi4396 OP @pengdachxx #2 控制台会打印的,类似这种
2024/06/24 15:03:35 <- {"method":"Network.loadingFinished","params":{"requestId":"31208.632","timestamp":446892.659466,"encodedDataLength":285},"sessionId":"D46A4793A6DC7372502899A729BBD49A"} 2024/06/24 15:03:35 <- {"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"D0FD29374C3317AC3722E54256D3661F","type":"page","title":"\u4ec0\u4e48\u503c\u5f97\u4e70 | \u79d1\u5b66\u6d88\u8d39 \u8ba4\u771f\u751f\u6d3b","url":"https://www.smzdm.com/","attached":false,"canAccessOpener":false,"browserContextId":"35896E7E3B59EE98CC255ED3893834C6"}}} |
4
pengdachxx 177 天前
@Sanshi4396 好的好的,学习了
|
5
body007 176 天前
要不别用 chromedp 截图了,调用系统屏幕截图吧,参考: https://github.com/vova616/screenshot
|
6
Sanshi4396 OP @body007 #5 后来发现了,不能用 FullScreenshot ,得用 CaptureScreenshot ,这样就没问题了
|