Gro*_*eek 17
代码是这样的:
def elem = driver.findElement(By.xpath("//*[contains(.,'search_text')]"));
if (elem == null) println("The text is not found on the page!");
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
19885 次 |
最近记录: |