assaf/zombie — Issue #231: not returning cookie
Author: amoltul
Created: 2011-12-16 09:43:18+00:00
State: open

Hi,
I am calling zbrowser.visit(beta.abc.com) like this. On normal browser this generate cookie like .beta.abc.com(there is dot at starting).
But in zombie browser I did not get this cookie. What is the reason behind this. Am I missing something?

//code snippet
var browser=new zombie.Browser();
browser.runScripts=true;
browser.userAgent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2";
browser.cookies("beta.abc.com").set("aaa", "111");
browser.visit(beta.abc.com/.....,this.callback);
//Here I try to get .beta.abc.com cookie but it is not present.

Amol