Compare sitebuild with in a design(semi)automatized

Hey folks, thinking of a solution which achieves the following (automatized as possible):
-creating a screenshot from a web page by url (with chromium or something like that)

-pasting the image into a ready figma design with 50% transparency as a front layer, the goal is obviously to compare the build with the design, the tricky part here i think is where we going to paste the screenshot exactly, also the size probably will be different than the design dimensions on figma

-exporting the design as jpeg

An ideal way would be to pass a list of urls of the pages and a target directory of the generated jpegs.

I am not afraid of api programming, just wondering do anybody met a solution something like that, because dont want to reinvent the wheel.

Not exactly what you described but there is Pixelay plugin: