📝 Requires "Allow JavaScript From Apple Events" (see image at bottom)

Open grab-caption in Script Kit

// Name: Grab Caption
import "@johnlindquist/kit"
// This query selector is specific to Disney plus
let js = `
Array.from(document.querySelectorAll('.dss-subtitle-renderer-line')).map(el => el.innerText)
`
let value = await applescript(`
tell application "Google Chrome" to tell window 1
set str to execute active tab javascript "${js}"
return str
end tell
`)
await div(md(`## ${value}`))
// To copy to clipboard, use:
// copy(value)

image