Hi I want to download pdf file automatically when I click the button but this button is not linked to *.pdf file. In web app, when I click the button, a new chrome browser opens and shows PDF file content using PDF viewer. And to download pdf file, I have to click the download icon on the top-right of corner.
How to make disable PDF file viewer and download file automatically?
Thanks
This thread is trying to answer question "How to automatically download a PDF file when a button is clicked during web scraping, when the button is not directly linked to the PDF file?"
Ok, let me add some hints for you:
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].