I am using Selenium Java. I need to enter value into text box and press down arrow to select suggestions and then press Enter key.
So, my question is how to press Down A
You can import Keys and use these.
import org.openqa.selenium.Keys WebElement.sendKeys(Keys.DOWN); WebElement.sendKeys(Keys.RETURN);
Edit
Could probably also be used in one sendKeys() call
WebElement.sendKeys(Keys.DOWN, Keys.RETURN);