How to select the auto suggestion from the dynamic dropdown using Selenium and Java
问题 I am trying to select the value for Subjects field in the following form: https://demoqa.com/automation-practice-form It is an input field that dynamically gives suggestions based on our input and later we need to select values from those suggestions. I am unable to select the desired value. The Below code only populates the input area but the value is not selected. driver.findElement(By.id("subjectsInput")).sendKeys("English"); driver.findElement(By.id("subjectsInput")).click(); //This line