选择PDF文档比较的方案 Selenium with Java design
列举市面上比较常见的几种用来帮助做PDF比较的方法:
Solution 1: PdfConvertImage
Two PDF documents are converted into pictures, and then compared the pictures one by one . Finally generate pdf document report.
Solution 2: ByBeyondCompare
Compare two PDF documents through the beyond compare plugin tool, and then generate HTML document reports
Solution 3: ByCompareUtils
Compare two PDF documents through the compareUtils and then generate pdf document report (PDFBOX)
![](https://images2017.cnblogs.com/blog/1065929/201711/1065929-20171113155416374-1015572325.png)