Adds an array of cookies to the current browser context. All cookies must specify a name, value, domain, and path. Returns true if cookies were successfully added.

Definition

addCookies(
  options: [CookieOptions]!
): Boolean!

Arguments

options: [CookieOptions]!

An array of cookie objects to add. See CookieOptions for details.

Returns

Boolean!

The Boolean scalar type represents true or false.