Skip to content

How do I press 'Down' arrow in the keyboard

This example demonstrates how to scroll down the page.

In the solution shown below, you will see that the scroll down action is performed in HICC by passing "Keys.ARROW_DOWN" as value to the sendKeys command.

Solution:

# Command Target Value
Scrolling the page to the bottom
1 sendKeys xpath=(//div[@id='btn_calculateControls']/a)[1]
Keys.ARROW_DOWN

Tips, Tricks, Gotchas & Best Practices:  

  • If  Keys.ARROW_DOWN doesn't work, as an alternative use Keys.PAGE_DOWN or Keys.END


Feedback and Knowledge Base