deleteCookie
deleteCookie(cookieName)
{Boolean}
Introduced: PhantomJS 1.7
Delete any Cookies in the CookieJar with a ‘name'
property matching cookieName
. Returns true
if successfully deleted, otherwise false
.
Examples
phantom.deleteCookie('Added-Cookie-Name');