Using XPath- text() method, we can write the Java code along with the dynamic XPath location as: findElement(By.xpath("//*[text()='Google offered in') ...
確定! 回上一頁