I want to verify from values from a website in one tab to pdf page that will be opened in next tab

I want to click on “2022 Federal Form 1040-V” and besides there is an amount 186646.

Then I want to click on “View Voucher”. It will navigate to another tab, where we will see a pdf single page document where we have to verify the Amount from their.

The title is “Dollars” or “$” or “Payment Amount”.
MicrosoftTeams-image (101)
MicrosoftTeams-image (102)
MicrosoftTeams-image (103)

This differs from what we select from Pic1, the pdf page will change

We have to close that tab and navigate back to web page.

@Anil_G. Please help me with this.

Thanks and Regards.