Skip to content

getCookies()

Get browser cookies

await getCookies()
await getCookies({urls:['https://the-internet.herokuapp.com']})
NameTypeDescription
optionsObjectDefault: {}.
options.urlsArrayThe list of URLs for which applicable cookies will be fetched Default: undefined.
TypeDescription
Promise<Array<Object>>Array of cookie objects