Intercept jQuery/ajax responses while using UI.Vision to browse site

I’m trying to intercept jQuery/ajax responses and write them to a file that are created while browsing a site with UI.Vision. Has anybody else done this? If so, could you share your script or give me an idea of how you went about this?

The rpa software can not intercept Ajax responses. But the Chrome dev tools can show these requests, or?