GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
This is probably an easy fix by having the NetworkManager provide the information in the NetworkAccessManager::handleFinished callback. The issue to be aware of is Capybara only cares about the status code of the original request. When you load a page in PhantomJS, it will start loading all the other assets like images and CSS as a real browser should, so we'll need to ignore those. Even if you pass in the --load-images=no option, Socket.IO's requests will still go through the callback.