首页 文章

Selenium位置字段自动下拉列表未选择

提问于
浏览
-5

driver.findElement(By.id("ProjectAddress")) . clear(); driver.findElement(By.id("ProjectAddress")) . sendKeys("Chennai"); driver.findElement(By.xpath(“// [@ id = 'ProjectAddForm'] / fieldset [4] / div / div 1”)) . click();了Thread.sleep(5000);`

1 回答

  • 0
    driver.findElement(By.linkText("Chennai, Tamilnadu")).click();
    

相关问题