I would like to extract the subtitle text on a paused video frame of external website (like youtube.com) through console.log.
It is assumed that the external website provides the subtitles through a webvtt or similar file.
As the subtitle text is possibly part of the DOM, can JavaScript code be used in the browser's Developer Console to extract the text & display it through console.log() after detecting the time at which it was paused?