
[英]Using Puppeteer, how to get Chrome DevTools' "Network" tab's timing information?
[英]Getting information about highlighted ads in Chrome Devtools / Puppeteer
在Puppeteer中,您可以使用以下内容突出显示页面上的广告:
const devtoolsProtocolClient = await page.target().createCDPSession();
await devtoolsProtocolClient.send('Overlay.setShowAdHighlights', { show: true });
以后是否可以获取有关每个广告的信息? 穿过高光区域?
另一个选择是在DOM中搜索突出显示的内容,但我看不到这些区域的任何修改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.