LET url = @dynamic LET doc = DOCUMENT(url, { driver: "cdp" }) LET cookiesPath = LENGTH(doc.cookies) > 0 ? "ok" : "false" LET cookie = COOKIE_GET(doc, "x-ferret") LET expected = "ok e2e" RETURN EXPECT(expected, cookiesPath + " " + cookie.value)