Inspect Network Traffic in Capybara Using the Poltergeist Driver

Ever tried inspecting the network traffic of any page and validating its response values? It’s possible in Capybara if you are using the Poltergeist driver.
The Poltergeist driver is a PhantomJS driver for Capybara. It runs your tests in headless mode.