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

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