getCookies ( string url ) : map
Returns all cookies from an host. The return value is an associative array of all cookies (cookieName:value)
Example
// Define the URL of the website to retrieve cookies from
url = "https://www.example.com"
// Get all cookies from the specified URL
cookies = getCookies(url)
// Display the retrieved cookies in the console
console("Cookies: " + cookies)
Parameters
url
URL of the website