阅读&存储chrome开发人员工具网络数据 [英] Reading & storing chrome Developer tool network data

查看:206
本文介绍了阅读&存储chrome开发人员工具网络数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想捕获Chrome开发人员工具网络数据,可以使用java / javascript代码或使用自动化工具(如selenium2 webdriver)。

  1)我想从网络选项卡捕获触发事件的名称。 
2)我需要获取该特定捕获名称的请求URL(来自标题)信息。

任何想法都会有所帮助

解决方案

您可以使用 cdp4j 捕获响应数据。请查阅 转储所有响应数据的示例代码。

I want to capture Chrome developer tool network data, either using java/javascript code or using automation tool like selenium2 webdriver.

1) I want to capture name of fired event from the network tab.
2) I need to get "Request URL" (from Header) info for that particular captured name.

Any thoughts would be helpful

解决方案

You can capture response data with cdp4j. Please review this sample code to dump all response data.

这篇关于阅读&存储chrome开发人员工具网络数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆