Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我硒更新鲜。
我使用的是 Firefox 10.0.1 版本。哪个 xpather 版本将支持我的 Firefox
我无法使用driver.findElementsByXpath
driver.findElementsByXpath
有人可以帮忙吗?
Namitha,您可以使用以下代码(webdriver:java)
在下面的代码中,我试图从下拉列表中选择一个选项“卖家”。
WebElement ele = browser.findElement(By.xpath("//option[text()='"+ "Seller" + "']"));