Reputation: 6807
Is there any web browser component for Java or C# that supports JavaScript and can detect when a page fully loaded?
(When the page and its images are loaded, and the ajax requests are complete.)
Upvotes: 0
Views: 597
Reputation: 26942
C# has the WebBrowser
class which actually just is the IE that is installed on your computer. It's quite rich in functionality and has many methods. Perhaps it is enough for your goal. Certainly IE can do javascript and "knows" when Ajax calls are finished.
http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx
Upvotes: 1
Reputation: 5059
Yes, check out the Elicpse SWT browser widget
But keep in mind that "when AJAX requests are complete" is not a trivial issue. If actions once the page is "loaded" cause additional async DOM modifications, then when is it "finally loaded" becomes an issue.
Upvotes: 2