3 ms·
This is really cool! Would be super helpful to have some example screenshots linked in the readme though, to help set expectations.
by eins1234 6y ago
This is really cool!
Would be super helpful to have some example screenshots linked in the readme though, to help set expectations.
- felixfbecker 6y agoHere are some examples produced by the tests of the underlying library, including HN, GitHub and the Google homepage: https://github.com/felixfbecker/dom-to-svg/suites/1630896833/artifacts/30080134 https://github.com/felixfbecker/dom-to-svg/suites/1630896833... The tests take a PNG screenshot of the webpage, then a PNG screenshot of the created SVG and pixelmatch the two. The difference must be below 0.5% for tests to pass.
- Assossa 6y ago404's for me
- felixfbecker 6y agoAh, looks like GitHub actions don't allow public access to artifacts: https://github.community/t/public-read-access-to-actions-artifacts/17363/4 https://github.community/t/public-read-access-to-actions-art... In that case - just install the extension and try it out? :)
- felixfbecker 6y agoAdded! https://github.com/felixfbecker/svg-screenshots#examples https://github.com/felixfbecker/svg-screenshots#examples