Record audio from browsers?

Hi there,

I was wondering if it’s possible to record audio from a browser, watching videos on youtube with Audacity?

*I know youtube videos can be downloaded, but I used youtube as a example.

See here for how to record audio that is playing on the computer: