TestProject Forum

Using Type Text to send shortcut keys

Is it possible to use the Type Text command to send shortcut keys to a browser object (a PDF control)? Specifically, I want to send CTRL+S to the object in order to invoke the save dialog.


I see what you mean, Chrome’s PDF viewer gets in the way so the file is not downloaded directly. There must be an easier way to do this than to simulate CTRL+S just to save it. I’ll let the experts answer.

An interesting addon I saw was called shell commands.

if you can use that then you can potentially use a command like curl -o C:/mypdf.pdf https://www.somewebsite.com/originalpdf to download your file. Unfortunately, I haven’t confirmed this works for myself because I need an admin to install this.