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

Make stub requests accessible #154

Closed

Conversation

mackermans
Copy link
Contributor

This enables you to inspect (for example) some AJAX requests made by the page that is visited, if the HTML of the page is not changed to reflect a success/error of the request (such as the Facebook api example).

@mackermans mackermans changed the title Requests to stubs are now able to be retrieved Make stub requests accessible May 30, 2016
@ronwsmith
Copy link
Collaborator

@mackermans thanks for the contribution!

Can you add the config option to the README and include an example of how/why you'd use this?

@mackermans
Copy link
Contributor Author

@ronwsmith sure thing!

I added some documentation to the README and provided example specs.

@mackermans
Copy link
Contributor Author

It looks like PhantomJS 1.9.8 is giving trouble. Check out this post/comment: teampoltergeist/poltergeist#340 (comment)

Might be worth upgrading PhantomJS for the Travis builds, as these failed tests seem to be quite random. Locally I'm using version 2.1.1, which never failed for me.

@ronwsmith
Copy link
Collaborator

Moved to new PR so I can merge.

@ronwsmith ronwsmith closed this Jun 2, 2016
@mackermans mackermans deleted the Make_requests_to_stubs_accessible branch June 2, 2016 17:09
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

Successfully merging this pull request may close these issues.

2 participants