1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-01-20 03:29:51 +02:00
Tim Voronov d55bce325c
Bugfix/#597 headers panic (#598)
* Remodeled HTTPHeaders

* Remodeled HTTPCookies
2021-03-26 12:01:00 -04:00

15 lines
244 B
Plaintext

LET url = @lab.cdn.dynamic
LET doc = DOCUMENT(url, {
driver: "cdp",
cookies: [{
name: "x-e2e",
value: "test"
}]
})
LET cookie = COOKIE_GET(doc, "x-e2e")
T::NOT::NONE(cookie)
T::EQ(cookie.value, "test")
RETURN NONE