github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/page/cookies/delete.fql (about)

     1  LET url = @lab.cdn.dynamic
     2  LET doc = DOCUMENT(url, {
     3      driver: "cdp",
     4      cookies: [{
     5          name: "x-e2e",
     6          value: "test"
     7      }, {
     8          name: "x-e2e-2",
     9          value: "test2"
    10      }]
    11  })
    12  
    13  COOKIE_DEL(doc, COOKIE_GET(doc, "x-e2e"), "x-e2e-2")
    14  
    15  LET cookie1 = COOKIE_GET(doc, "x-e2e")
    16  LET cookie2 = COOKIE_GET(doc, "x-e2e-2")
    17  
    18  T::EQ(cookie1, NONE)
    19  T::EQ(cookie2, NONE)
    20  
    21  RETURN NONE