Currently we manually compare (test) the PDF layout with the website on the browser. However, I'm looking for a tool which could automate the testing process. I've looked into a Visual regression testing library called PhantomCSS. However, it only compares the screenshot taken from the browser (cross-browser) and not against the PDF layout which I'm looking for. Is there any tool available for that?

1 Answer 1


You can open PDF file in browser , and then use PhantomCSS. It will compare both screenshots of PDF file and Web page taken from the browser.

Try to create PDF from web pages and compare documents using Acrobat 9. (tutorial)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.