mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-21 01:21:34 +02:00
14 lines
349 B
Plaintext
14 lines
349 B
Plaintext
|
LET url = @dynamic + "?redirect=/events"
|
||
|
LET doc = DOCUMENT(url, true)
|
||
|
|
||
|
WAIT_ELEMENT(doc, "#page-events")
|
||
|
|
||
|
LET el = ELEMENT(doc, "#wait-class-content")
|
||
|
|
||
|
ATTR_SET(el, "data-test", "test")
|
||
|
WAIT_ATTR(el, "data-test", "test")
|
||
|
|
||
|
ATTR_REMOVE(el, "class")
|
||
|
WAIT_ATTR(el, "class", NONE)
|
||
|
|
||
|
RETURN el.attributes.class == NONE ? "" : "attribute should be removed"
|