Retrieves cookies for the current page’s URL or specified URLs. If no URLs are provided, cookies for the current page URL are returned. If URLs are provided, only cookies for those specific URLs are returned. Example:Documentation Index
Fetch the complete documentation index at: https://docs.extractbase.com/llms.txt
Use this file to discover all available pages before exploring further.
cookies(urls: ["https://example.com", "https://another.com"])
Definition
Arguments
urls
[String]
An optional list of URLs to retrieve cookies for.
If omitted, cookies for the current page’s URL are returned.
Example: ["https://www.example.com", "https://sub.example.com"]