github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/doc/wait/attr_all_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  CLICK_ALL(doc, "#wait-class-btn, #wait-class-random-btn")
     7  T::LEN(ELEMENTS(doc, X("//*[@id='wait-class-content' or @id='wait-class-random-content']")), 2)
     8  WAIT_ATTR_ALL(doc, X("//*[@id='wait-class-content' or @id='wait-class-random-content']"), "class", "alert alert-success", 10000)
     9  
    10  RETURN TRUE