github.com/MontFerret/ferret@v0.18.0/examples/wait_response.fql (about)

     1  LET doc = DOCUMENT('https://soundcloud.com/charts/top', { driver: "cdp" })
     2  
     3  WAIT_ELEMENT(doc, '.chartTrack__details', 5000)
     4  SCROLL_BOTTOM(doc)
     5  
     6  LET evt = (WAITFOR EVENT "response" IN doc FILTER CURRENT.url LIKE "https://api-v2.soundcloud.com/charts?genre=soundcloud*")
     7  
     8  RETURN JSON_PARSE(evt.body)