jvppeteer icon indicating copy to clipboard operation
jvppeteer copied to clipboard

java 17 环境无法拦截响应

Open ztxtxwd opened this issue 2 years ago • 0 comments

jdk: Amazon Corretto 17 示例:page.onRequest((request) -> { System.out.println("页面有请求发出..."+request.url()); }); page.onRequestfailed((request) -> { System.out.println("页面发出的请求失败了..."+request.url()); }); page.onRequestfinished((request) -> { System.out.println("页面的请求结束了..."+request.url()); }); page.onResponse((response) -> { System.out.println("页面请求["+response.url()+"]对应的响应是..."+response.status()); }); 均未打印

ztxtxwd avatar Sep 03 '22 03:09 ztxtxwd