How to screenshot of figma embed when a user clicks

I have a custom application that is creating documentation based on each users interaction.

A Figma prototype is embedded into my app (iFrame) and each time a user clicks on the prototype i want to extract a screenshot of the prototype they’re interacting with.

Maze has managed to get this working but I have no idea how they achieve this.

Any suggestions would be much appreciated.

Thanks in advance!

This topic was automatically closed after 30 days. New replies are no longer allowed.