Retrieves an array of cookies for document.URL.
Example
// get additional info for cookie 'myCookie1'
fin.desktop.System.getCookies({name: 'myCookie1'}, cookies => {
    cookies.forEach(cookie => {
        console.log(`${cookies.name} ${cookies.expirationDate} ${cookies.domain} ${cookies.path}`);
    });
});
Cookie Info
{
    name: "myCookie1",                  // name of the cookie
    expirationDate: 1608292800.679993,  // expiration timestamp of the cookie
    domain: "localhost",                // domain of the cookie
    path: "index.html"                  // path of the cookie
}