我来自伊朗,在使用Vpn的真实设备中,ip地址更改并且geocoder.getFromLocation正常工作。 但是当我不使用Vpn时,会发生此错误:grpc失败
WebElement element = new WebDriverWait(driver, 20).until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//span[@class='abc']")));
String text=element.getAttribute("textContent");
String[] lines = text.split("\\r?\\n");
System.out.println(lines[2].trim());