Skip to content

Testing the Internet

Key presses

What you'll learn

In this video, you’ll discover how to simulate special key presses like Tab, Enter, ESC, or Alt in your web automation flows. Instead of relying solely on clicks, you’ll see how Leapwork lets you send and verify keystrokes directly on a web page without writing code. By the end, you’ll be able to handle complex navigation, pop-ups, and input scenarios with ease.

Key lessons

  • How to send special keystrokes like Tab, Enter, ESC, or Alt using the Type Web Text block.
  • How to capture the result area and verify that the key press was recognized by the page.
  • How to use the Get Web Text block to extract and validate text generated by keystrokes.
  • How to compare output and mark the flow as pass or fail depending on the result.
  • How to build reliable flows for scenarios where key presses are necessary for navigation or interaction.

Additional resources

Continue your learning journey and explore all available product training sessions.