I'm running into an issue where I ask for the page source, getPageSource() and I get one value, yet when I view the source of the page I'm getting not only what I'd expect with getPageSource but I'm getting much more. As an example:
View source
<html>
<head>some stuff...</head>
<body>
<div id="head></div>
<div id="controlPanelMenu">
All kinds of html and stuff in here that I can actually see on the page and interact with firebug.
</div>
<div id="footer"></div>
</body>
</html>
Any ideas on how to get to the "All kinds of html and stuff..."?