Taiko
Documentation

Home / API Reference

getCookies

Get browser cookies

Examples

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

Parameters


options

options.urls Array

The list of URLs for which applicable cookies will be fetched

Default value
undefined

Returns

Array of cookie objects

Promise<Array<Object>>