Answer the question
In order to leave comments, you need to log in
How to get iframe content of loaded page using javafx webview?
A frame is loaded in the open page:
<iframe id="wikipedia" src="http://en.wikipedia.org"></iframe>
Document document = webEngine.getDocument();
Element elementById = document.getElementById("wikipedia");
System.out.println(elementById.getTextContent());
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question