Purely using node you can intercept http requests made through request library using request-capture-har utility which generates an HTTP archive which contains the information you need.
While this is not natively supported through selenium web-driver, you can integrate with firefox extensions to get information about all network requests.