How to verify page numbers in doc, docx, pdf and excel using selenium

  Kiến thức lập trình

I need to download the attachments and validate the page numbers (x of Y) in doc, docx, pdf and Excel. How can i automate these validation using selenium. Please input ur suggestions.

I need an idea to implement the code in test automation.

New contributor

PadmaPriya Deenadhayalan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.