原文链接 https://www.cnblogs.com/ajanuw/p/10324269.html Request Response page.setRequestInterception(true) 开启拦截 req.respond() 返回一个自定义响应 req.continue() 继续请求 注意: 监听的请求的类型有: document,stylesheet,image,media,font,script,texttrack,xhr,fetch,eventsource,websock…