I'm very confused on how to access the newly loaded page's DOM after I .click() the submit button on a page and am sent to another one.
Normally in PHP, I would just parse the old document and write to the new document while ignoring the unwanted elements.
I need to create a new HtmlUnit DomNode and insert String into this node.
Is possbile to do this?
Is there any way I can use a headless browser such as htmlunit or gecko, put them into a java Frame, hook a 'innerhtmlChangedListener' up to a DOM Element such as ...