标签: java selenium
当我想找到元素属性fox例子:
WebElement element = driver.findElement(By.cssselector("......") String str = element.getAttribute("innerHTML")
我应该使用presenceOfElementLocated还是visibilityOfElementLocated?
presenceOfElementLocated
visibilityOfElementLocated