LET url = @dynamic + "?redirect=/events" LET doc = DOCUMENT(url, true) LET pageSelector = "#page-events" LET elemSelector = "#wait-no-element-content" LET btnSelector = "#wait-no-element-btn" WAIT_ELEMENT(doc, pageSelector) CLICK(doc, btnSelector) WAIT_NO_ELEMENT(doc, elemSelector, 10000) RETURN ELEMENT_EXISTS(doc, elemSelector) ? "element should not be found" : ""