mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-16 11:37:36 +02:00
ff8c15eb67
* Added support of getting URL dynamically
14 lines
244 B
Plaintext
14 lines
244 B
Plaintext
LET url = @lab.cdn.dynamic
|
|
LET doc = DOCUMENT(@lab.cdn.dynamic, {
|
|
driver: "cdp"
|
|
})
|
|
|
|
COOKIE_SET(doc, {
|
|
name: "x-e2e",
|
|
value: "test"
|
|
})
|
|
|
|
LET cookie = COOKIE_GET(doc, "x-e2e")
|
|
LET expected = "test"
|
|
|
|
RETURN T::EQ(cookie.value, expected) |