-
摇曳的蔷薇
driver.find_element_by_xpath("//*[@id='lobby-left-container']/div[2]/div/table/tbody/tr[1]/td[2]/div").get_attribute("data-id")
-
跃然一笑
driver.find_element_by_xpath("//*[@id='lobby-left-container']/div[2]/div/table/tbody/tr[1]/td[2]/div").get_attribute("value")
-
慕姐8265434
driver.find_elements_by_xpath("//*[@id='lobby-left-container']/div[2]/div/table/tbody/tr[1]/td[2]/div")[-1]
-
缥缈止盈
用findElements方法,例如:List<WebElement> a = driver.findElements(By.tagName("a"));