Hacker News new | ask | show | jobs
by dsmmcken 1256 days ago
Nice. I've been thinking about going the more complicated route of building a screenshot pipeline for our docusaurus based docs. I am currently considering building something that would allow you to embed a ```playwright code block into your markdown, containing a playwright test with the expected output, and then at build time it would execute the tests and replace the code blocks with the images.

Anyone do something similar?

1 comments

This is similar for Jupyter + Robot Framework + Selenium: https://marketsquare.github.io/robotframework-seleniumscreen...