//获取select标签aria-label='Question'所有数据 IList all = driver.FindElements(By.XPath("//select[@aria-label='Question']")); if (all.Count > 0) { //循环 foreach (IWebElement beginlink in all) { //选定Select下拉框第二个值 SelectElement SelectAn = new SelectElement(beginlink); Sel…