Just as a note for implementation, I believe this should be pretty easy with Playwright. I'm envisioning having a source in the builder JSON in each component, and CSS if needed. A script can build a page using those, then load it to Playwright, and run something like:
const element = await page.locator(`#${component}`);
await element.screenshot({ path: `${component}.png` });
Just as a note for implementation, I believe this should be pretty easy with Playwright. I'm envisioning having a source in the builder JSON in each component, and CSS if needed. A script can build a page using those, then load it to Playwright, and run something like: