I have a HTML page like
<html>
<head>
<!-- necessary java scripts -->
</head>
<body>
<div id="content"></div>
</body>
Using the script, when the page renders, appropriate html content is placed withing the div element with id "content". So after the page renders there are a whole lot of html content withing div element.
Now i need to extract the dynamically rendered content within the div element using Java. Can anyone please suggest a way to do it?