how to how perform enter action with selenium code example Example: press enter selenium driver.findElement(By.id("element_id")).sendKeys(Keys.ENTER);