XHR-Interceptor Two type of interceptors are written. One is for xdomain and other is for normal xhr calls. Motivation In E2E protractor sanity automation for webapp. I wanted to intercept all xhr calls. For validation of response after some specific action.