title: Best way to intercept XHR request on page with Puppeteer and return mock response
body: <p>I need to be able to intercept XHR requests on page loaded with <a href="https://github.com/GoogleChrome/puppeteer" rel="noreferrer">Puppeteer</a> and return mock responses in order to organize backendless testing for my web app. What's the best way to do this?</p>