Can you sent keys without an object?

Hi guys !!

Is there a way to use sent keys without having an object? I want to simulate a keyboard entry after selecting a tab but it does nothing due it not having an object to select but does pass “Keys 'ESCAPE + ’ sent to object: ‘tempBody’”

You could try to target the HTML <body> element. Not sure if it will work, though…

java.awt.Robot class should be agnostic of any selected element, acc. to the description.
https://docs.oracle.com/javase/7/docs/api/java/awt/Robot.html

It is designed to send ‘native inputs’
I never use it, you can give a try.
You have to grab the jar and import it in your project, i think it is not provided with Katalon by default