Make sure you have a storybook server running on 6006 port. And, static build on 8080 port (npx http-server ./storybook-static)
Run node browserless.js
to get dom using browserless. Run node playwright.js
to get dom using playwright
Run node screenshot.js
to capture screenshots