XPath :. WebElement myElement = driver.findElement(By.id("myDiv")); ... //span/parent::div[@class="parent"] -返回父元素只的确切节点类型和仅如果指定的谓词是 ...
確定! 回上一頁