worker icon indicating copy to clipboard operation
worker copied to clipboard

Unexpected error with the "try it" script

Open samuelmarcos-cpu opened this issue 3 years ago • 0 comments

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'))
    }

samuelmarcos-cpu avatar Jan 23 '22 04:01 samuelmarcos-cpu