0

I'm trying to write a small Javascript code that I can execute in the Chrome's dev tools. This piece of code should check if one of the reports in the "Network" tab contains a specific string (lets say test123), similar to the Chrome's search bar: enter image description here

If there are no reports that contain this string, it will refresh after a minute. Otherwise, it will alert me.

About the refreshing part I can use this post. I'm having a problem with checking if one of the reports contains a string. I want to mimic the machisem of this search bar. Is it possible to do in Chrome's dev tools?

vesii
  • 2,276
  • 2
  • 15
  • 44
  • Look into the DevTools API and specifically firing your code after each request finishes. https://developer.chrome.com/docs/extensions/reference/devtools_network/#event-onRequestFinished – ecg8 Dec 26 '21 at 18:29

0 Answers0