【发布时间】:2017-06-05 17:45:25
【问题描述】:
我很高兴能使用 headless chrome,我想要 Phatom.js 中的 onResourceRequested 之类的功能。
但是我没有找到相应的监控HttpRequest的函数。查了dev tools documentation,发现很多函数都用requestId,但是连获取这个id的函数都没有,怎么监控网络呢?
【问题讨论】:
标签: google-chrome phantomjs google-chrome-devtools headless