This is documentation for the next version of K6. For the latest stable release, go to the latest version.
addCookies()
Adds a list of cookies into the browser context. All pages within this browser context will have these cookies set.
Note
If a cookie’s
url
property is not provided, bothdomain
andpath
properties must be specified.