Use the pressDown, pressEnter, pressUp, and setInput methods to simulate user input.