Can Selenium verify text inside a PDF loaded by the browser?

前端 未结 5 526
太阳男子
太阳男子 2020-12-05 19:41

My web application loads a pdf in the browser. I have figured out how to check that the pdf has loaded correctly using:

verifyAttribute xpath=//embed/@src {URL of P

5条回答
  •  被撕碎了的回忆
    2020-12-05 20:02

    you can use Selenium Web Driver and Google Match and Diff project to read pdf content in selenium and do comparison.

    Read the article here.

提交回复
热议问题