I have an HTML page like
<html>
<head>
</head>
<body>
<div id="content"></div>
</body>
Using a script, when displaying the page, the corresponding html content is placed along with the div element with the identifier "content". Thus, after viewing the page, there is a lot of html content with a div element.
Now I need to extract the dynamically displayed content in the div element using Java. Can anyone suggest a way to do this?
source
share