CasperJS/PhantomJS Cookie Handling

When I visit this site in a browser I get the google.com tracking cookies:

http://www.xfinityonline.com/

However, I don't see these cookies when I visit the site in CasperJS (I do see other third-party cookies). Any idea why this is happening?

I am using phantomjs 1.9.7 and casperjs 1.1.0-beta3. I am capturing resource.requested and resource.received to verify that the google.com resource is being loaded. I am dumping phantom.cookies to verify that the cookies are not set. I am using FireBug to test with a live browser.

链接地址: http://www.djcxy.com/p/73484.html

上一篇: 在同步CasperJS操作期间进行异步调用

下一篇: CasperJS / PhantomJS Cookie处理