mirror of
https://github.com/MontFerret/ferret.git
synced 2025-01-02 02:57:51 +02:00
13 lines
352 B
Plaintext
13 lines
352 B
Plaintext
|
LET url = @dynamic + "?redirect=/events"
|
||
|
LET doc = DOCUMENT(url, true)
|
||
|
LET pageSelector = "#page-events"
|
||
|
LET elemSelector = "#wait-element-content"
|
||
|
LET btnSelector = "#wait-element-btn"
|
||
|
|
||
|
WAIT_ELEMENT(doc, pageSelector)
|
||
|
|
||
|
CLICK(doc, btnSelector)
|
||
|
|
||
|
WAIT_ELEMENT(doc, elemSelector, 10000)
|
||
|
|
||
|
RETURN ELEMENT_EXISTS(doc, elemSelector) ? "" : "element not found"
|