简体   繁体   English

如何使用Nightmare.js接收所有Web请求?

[英]How do you get all web requests with Nightmare.js?

With the old version of Nightmare.JS (<1.7.0) it seemed like you could easily get what resources a URL fetches. 使用Nightmare.JS的旧版本(<1.7.0),您似乎可以轻松地获取URL获取的资源。 However, with the switch to electron, I can't figure out what to do to get all the requests. 但是,转向电子后,我无法弄清楚该如何处理所有请求。

DEBUG =噩梦:日志节点[您的脚本名称] [参数(如果有)]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM