1Actions action = new Actions(driver);2action.keyDown(element, Keys.DOWN).build().perform();3action.keyUp(element, Keys.DOWN).build().perform();4action.sendKeys(element, Keys.TAB).build().perform();5action.sendKeys(element, Keys.ENTER).build().perform();6action.sendKeys(element, Keys.RETURN).build().perform();7action.sendKeys(element, Keys.SHIFT).build().perform();8action.sendKeys(element, Keys.CONTROL).build().perform();9action.sendKeys(element, Keys.ALT).build().perform();10action.sendKeys(element, Keys.ESCAPE).build().perform();11action.sendKeys(element, Keys.PAGE_DOWN).build().perform();12action.sendKeys(element, Keys.PAGE_UP).build().perform();13action.sendKeys(element, Keys.END).build().perform();14action.sendKeys(element, Keys.HOME).build().perform();15action.sendKeys(element, Keys.LEFT).build().perform();16action.sendKeys(element, Keys.UP).build().perform();17action.sendKeys(element, Keys.RIGHT).build().perform();18action.sendKeys(element, Keys.SPACE).build().perform();19action.sendKeys(element, Keys.BACK_SPACE).build().perform();20action.sendKeys(element, Keys.TAB).build().perform();21action.sendKeys(element, Keys.DELETE).build().perform();22action.sendKeys(element, Keys.INSERT).build().perform();23action.sendKeys(element, Keys.F1).build().perform();24action.sendKeys(element, Keys.F2).build().perform();25action.sendKeys(element, Keys.F3).build().perform();26action.sendKeys(element, Keys.F4).build().perform();27action.sendKeys(element, Keys.F5).build().perform();28action.sendKeys(element, Keys.F6).build().perform();29action.sendKeys(element, Keys.F7).build().perform();30action.sendKeys(element, Keys.F8).build().perform();31action.sendKeys(element, Keys.F9).build().perform();32action.sendKeys(element, Keys.F10).build().perform();33action.sendKeys(element, Keys.F11).build().perform();34action.sendKeys(element, Keys.F12).build().perform();35action.sendKeys(element, Keys.NUMPAD0).build().perform();36action.sendKeys(element, Keys.NUMPAD1).build().perform();37action.sendKeys(element, Keys.NUMPAD2).build().perform();