From: tptaylor <ter...@gm...> - 2015-11-14 23:44:08
|
Hi Ahmed, How are HTMLObjectElement, and HtmlObject linked? I have verified that an HTMLObjectElement object is created by the Javascript and it is added to the document object, as when I check it's ownerDocument, it is the root URL given above. I also add a WebWindowListener to the WebClient. The WebListener is fired multiple times, but not when the HTMLObjectElement is added, and the HtmlObject doesn't appear in the HtmlPage object. I was thinking of adding in a DOMListener to try and see if that is triggered when the dom is changed, but I'm not sure where I would do that. Is that something you do directly after getPage is called on HtmlPage? Cheers, Teryl -- View this message in context: http://htmlunit.10904.n7.nabble.com/Question-about-scraping-object-embed-tags-from-website-tp37745p37750.html Sent from the HtmlUnit - General mailing list archive at Nabble.com. |