Skip to content

getCookies()

Get browser cookies

Examples

await getCookies()
await getCookies({urls:['https://the-internet.herokuapp.com']})

Parameters

Name Type Description
options Object Default: {}.
options.urls Array The list of URLs for which applicable cookies will be fetched Default: undefined.

Returns

Type Description
Promise<Array<Object>> Array of cookie objects