Ask HN: How does Google take client-side screenshots?

On most of Google pages they allow to give feedback that also takes a screenshot of your active screen to help the feedback, but how do they take a screenshot without using UserMedia.

https://cloud.google.com/compute/docs/

You have to give 3 stars or less to get a prompt to give feedback and then you can click either and it takes a screenshot.