How to sent the enter key with no target

Hi I need to at certain points in my test simply hit the enter key with no target. How do I do this?

Hi Kyle,

You can try this. It works for me

WebUI.sendKeys(null, Keys.chord(Keys.CONTROL, ā€˜vā€™))

Just make the target null.

Hope that helps. . . :slight_smile:

1 Like