Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
addCookies()
Adds a list of cookies into the BrowserContext. All pages within this BrowserContext will have these cookies set.
Note
If a cookie’s
url
property is not provided, bothdomain
andpath
properties must be specified.