MontFerret / worker

Containerized Ferret worker
Apache License 2.0
14 stars 7 forks source link

Unexpected error with the "try it" script #24

Open samuelmarcos-cpu opened 2 years ago

samuelmarcos-cpu commented 2 years ago

when I run the standard "try it" script, the ferret doesn't find the element by the ".chartTrack__title" selector

image

LET doc = DOCUMENT('https://soundcloud.com/charts/top', {
    driver: 'cdp'
})

WAIT_ELEMENT(doc, '.chartTrack__details', 5000)

LET tracks = ELEMENTS(doc, '.chartTrack__details')

FOR track IN tracks
    RETURN {
        artist: TRIM(INNER_TEXT(track, '.chartTrack__username')),
        track: TRIM(INNER_TEXT(track, '.chartTrack__title'))
    }