Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting HTTP status code for the last request #1

Open
kamal opened this issue Apr 23, 2011 · 0 comments
Open

Getting HTTP status code for the last request #1

kamal opened this issue Apr 23, 2011 · 0 comments

Comments

@kamal
Copy link
Member

kamal commented Apr 23, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant