getNamedCookie

Returns the cookie with the requested name from the associated cookies in the cookie store of the current browsing context’s active document. If no cookie is found, a no such cookie error is returned.
Source:
Returns:
Type:
Promise.<string>