github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/page/cookies/load_with.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  })
     9  
    10  LET cookie = COOKIE_GET(doc, "x-e2e")
    11  
    12  T::NOT::NONE(cookie)
    13  T::EQ(cookie.value, "test")
    14  
    15  RETURN NONE