這裏是我用來從html代碼片段訪問「test」的代碼片段。我如何從html中訪問URL https://www.google.com?無法在href(jSoup)中返回文本
Elements e = doc.getElementsByAttribute("href");
Iterator<Element> href = e.iterator();
while (href.hasNext()){
Element link = href.next();
String text = link.text();
}
<a href="javascript:linkToExternalSite('https://www.google.com','','61x38pxls','','','','','')">Test</a>