Skip to content

Conversation

@andersju
Copy link
Contributor

I've found PhearJS to be immensely useful for a project I'm working on, but I also needed it to return all cookies (including ones set by JS) and all HTTP requests generated by a page. Not sure if it's out of scope for this project, but this makes it possible with two new parameters, get_requests and get_cookies, both false by default.

Very simple change, with the disclaimer that I'm certainly no JS/CoffeeScript wiz (and I'm new to PhantomJS), but it's been working well for me.

@Tomtomgo
Copy link
Owner

@andersju thanks a lot! Seems like a useful addition. I will take a good look at it soon.

@Tomtomgo Tomtomgo merged commit 7523411 into Tomtomgo:master Mar 4, 2016
@Tomtomgo
Copy link
Owner

Tomtomgo commented Mar 4, 2016

Merged this one, thanks a lot @andersju 👍 💯

@thomasmodeneis
Copy link

Sorry mate, I implemented this in my fork and forgot to come back here.
I will test this implementation later on, thanks for this :)
Cheers

@andersju
Copy link
Contributor Author

andersju commented Mar 4, 2016

@Tomtomgo: Sweet! And thanks for your work!

@andersju andersju deleted the return-cookies-and-requests branch March 4, 2016 15:13
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.

3 participants