LET url = @dynamic
LET doc = DOCUMENT(@dynamic, {
    driver: "cdp"
})

COOKIE_SET(doc, {
    name: "x-e2e",
    value: "test"
})

LET cookie = COOKIE_GET(doc, "x-e2e")
LET expected = "test"

RETURN EXPECT(expected, cookie.value)