ind the address of the video that’s currently displayed on the page (to download with wget or yt-dlp)
I think that what you're wanting to actually do isn't use the Firefox developer console, but rather the list of media.
Click on the lock icon in the URL bar. Under that, choose "Connection secure". Under that, "More information". Click on the "media" tab. You'll have a list to the URL of the videos on the page.
For many sites, though, you can just feed the address of the page, not the video embedded in the page, to yt-dlp and it'll go looking and can find the video itself.
EDIT: If you're new to yt-dlp and your URL has characters that bash interprets specially, like "&" or something, be sure to put quotes around the URL to avoid that.
E.g.:
https://www.youtube.com/watch?v=WOUY5H6b6N0&t=30s
Should be:
$ yt-dlp 'https://www.youtube.com/watch?v=WOUY5H6b6N0&t=30s'