Websites may set cookies for a variety of purposes, from identifying returning users to storing user preference information.
Capturing and saving the cookies a website sends is easily done with Page Interactions using the get_cookies function. get_cookies accepts a timeout parameter to set how long to listen for new cookies, as demonstrated below:
Parameter
Required
Description
timeout
Optional
Default = 1000
Integer | Controls how long to wait for new cookies before storing all collected cookie data in ms.