Does a get_har() alternative exist in js?

Is there anyway to access the network tab and automate it without opening the browser?

Example
I want to get the highlighted request response, can i scrape with javascript the response.
I’ve tried a lot of things but i can’t get it to work.

If you need other information please tell me.