Callback for cookies #11132

ariya opened this Issue Mar 12, 2013 · 0 comments


None yet
1 participant

ariya commented Mar 12, 2013 commented:

Which version of PhantomJS are you using?

What steps will reproduce the problem?

  1. Load any page setting cookies.
  2. You cant know which page set which cookies via javascript.

What is the expected output? What do you see instead?
I'd expect a callback (onCookieSet etc.) with 7 parameters (url [or url of script setting cookie], cookieName, cookieValue, cookiePath, cookieDomain, cookieExpiration, cookieHttpOnly/cookieSecure) - Could be combined to some cookie object with the specified fields instead.

Which operating system are you using?
Windows 7

Did you use binary PhantomJS or did you compile it from source?

Please provide any additional information below.
With all these new cookie regulations, it'll be nice to crawl my site and be sure I know exactly which cookies are being set.

This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #1132.
🌟   1 people had starred this issue at the time of migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment