github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/element/inner_text/get_by_css.fql (about)

     1  LET url = @lab.cdn.dynamic + "/#/lists"
     2  LET doc = DOCUMENT(url, true)
     3  
     4  LET expected = [
     5      {"artist":"Lil Tecca","track":"Ransom"},
     6      {"artist":"NLE Choppa","track":"Shotta Flow (Feat. Blueface) [Remix]"},
     7      {"artist":"Baby Jesus (DaBaby)","track":"Suge"},
     8      {"artist":"NLE Choppa","track":"Shotta Flow 3"},
     9      {"artist":"Lil Tecca","track":"Lil Tecca - Did It Again"},
    10      {"artist":"NLE Choppa","track":"Shotta Flow"},
    11      {"artist":"Ynw Melly","track":"Dangerously In Love (772 Love Pt. 2)"},
    12      {"artist":"POLO G","track":"Polo G feat. Lil TJay - Pop Out"},
    13      {"artist":"MUSTARD","track":"Ballin' (feat. Roddy Ricch)"},
    14      {"artist":"Lil Nas X","track":"Panini"},
    15      {"artist":"Juice WRLD","track":"Juice Wrld - RUN"},
    16      {"artist":"Shordie Shordie","track":"Betchua (Bitchuary)"},
    17      {"artist":"Post Malone","track":"Goodbyes (feat. Young Thug)"},
    18      {"artist":"LIL UZI VERT","track":"Sanguine Paradise"},
    19      {"artist":"Calboy","track":"Envy Me"},
    20      {"artist":"Ambjaay","track":"Uno"},
    21      {"artist":"Lil Tecca","track":"Lil Tecca - Bossanova"},
    22      {"artist":"Lil Baby","track":"Baby"},
    23      {"artist":"Lil Tjay","track":"Lil Tjay - Brothers (Prod by JDONTHATRACK & Protegebeatz)"},
    24      {"artist":"YK Osiris","track":"Worth It"}
    25  ]
    26  LET actual = (
    27      FOR item IN ELEMENTS(doc, '.track-list li')
    28          RETURN {
    29              artist: TRIM(INNER_TEXT(item, '.track-artist')),
    30              track: TRIM(INNER_TEXT(item, '.track-name'))
    31          }
    32  )
    33  
    34  RETURN T::EQ(actual, expected)