mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-14 11:23:02 +02:00
d0caef8be7
* Added possibility to wait for an element or a class absence
9 lines
270 B
Plaintext
9 lines
270 B
Plaintext
LET url = @dynamic + "?redirect=/events"
|
|
LET doc = DOCUMENT(url, true)
|
|
|
|
WAIT_ELEMENT(doc, "#page-events")
|
|
|
|
CLICK_ALL(doc, "#wait-class-btn, #wait-class-random-btn")
|
|
WAIT_CLASS_ALL(doc, "#wait-class-content, #wait-class-random-content", "alert-success", 10000)
|
|
|
|
RETURN "" |