mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-14 11:23:02 +02:00
d55bce325c
* Remodeled HTTPHeaders * Remodeled HTTPCookies
15 lines
244 B
Plaintext
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 |