addCookie
addCookie(Object)
{Boolean}
Introduced: PhantomJS 1.7
Add a Cookie to the CookieJar. Returns true
if successfully added, otherwise false
.
Examples
phantom.addCookie({
name: 'Added-Cookie-Name',
value: 'Added-Cookie-Value',
domain: '.google.com'
});