github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/doc/wait/no_class_by_xpath.fql (about)

     1  LET url = @lab.cdn.dynamic + "?redirect=/events"
     2  LET doc = DOCUMENT(url, true)
     3  
     4  WAIT_ELEMENT(doc, "#page-events")
     5  
     6  // with fixed timeout
     7  CLICK(doc, "#wait-no-class-btn")
     8  WAIT_NO_CLASS(doc, X("//*[@id='wait-no-class-content']"), "alert-success")
     9  
    10  // with random timeout
    11  CLICK(doc, "#wait-no-class-random-btn")
    12  WAIT_NO_CLASS(doc, X("//*[@id='wait-no-class-random-content']"), "alert-success", 10000)
    13  
    14  RETURN NONE