Record browser activity through angular code?

I have a requirement to record browser activity in my angular application. There are moving images and animations on the browser. I want to record and download it as a file. Can it be possible through angular code?

Source: Angular Questions