WebElement.getAttribute()方法的具体详情如下: 包路径:org.openqa.selenium.WebElement 类名称:WebElement 方法名:getAttribute WebElement.getAttribute介绍 [英]Get the value of the given attribute of the element. Will return the current value, even if this has been modified after the page has been loaded....