页面有两个iframe,iframe的属性都一致,需要获取第一个iframe
转化为文本格式 document doc = webview.getEngine().getdocument();
NodeList bodys = doc.getElementsByTagName("iframe");
int countt=0;
for(int i=0;i
转换为html格式代码打印到console
document doc = webview.getEngine().getdocument();
NodeList bodys = doc.getElementsByTagName("iframe");
int countt=0;
for(int i=0;i
转换为html格式到字符串
document doc = webview.getEngine().getdocument();
NodeList bodys = doc.getElementsByTagName("iframe");
int countt=0;
for(int i=0;i 


