基于java,selenium选择下拉框的某一个选项

//打印出所有选项值         Select sel = new Select(driver1.findElement(ById.xpath(".//*[@id='GangManId']")));         List<WebElement> options = sel.getOptions();         for (WebElement option : options) {  
相关文章
相关标签/搜索