Thank you. My use case is the following:
The web application I interact with prints a report which I want to print as a PDF and then store it on a Google Drive. I have no possibility to modify the web application.
My only problem is how to interact with the Chrome print page, the rest I know how to do.
Thank you very much for your suggestions.