JExplorer (derivative from Java Explorer) will offer users a useful Java API for integrating Internet Explorer in specific Java programs.
With JExplorer, you can use the IE browser as a Java Swing UI component, in headless mode, or programmatically manipulate it without embedding in the UI.
You will be able to all these things and numerous other integration tasks purely using Java language. No specific knowledge of COM or the Microsoft Internet Explorer API is required.
NOTE: You will need to download an evaluation key in order to be able to use JExplorer.
Here are some key features of "JExplorer":
Browser components for working with Internet Explorer:
- JExplorer provides 3 different browser components: a visual browser object for embedding in a Swing UI, a headless browser for running automated tests for Web applications in the background, and an Automation-based browser component which you can use without embedding in a Swing UI.
Access to MS Internet Explorer functionality:
Access to the DOM:
- JExplorer provides a Java API to work with the DOM of web pages in many ways. You can manage elements in a document, modify element attributes, apply element styles, register and listen to DOM events, fire an event on some element, manipulate data in the HTML form elements, etc.
Support for browser events:
Ability to capture web pages:
- You can get a screen shot of a HTML page, either its visible part or the entire content.
- JExplorer supports both persistent and session cookies, and you are free to use them in a variety of ways: create, modify or delete cookies, get and set their name, value, domain and other information.
- With full support of different types of proxies (ftp, http, https, gopher, socks), JExplorer allows you to configure global proxy settings as well as those available for a current process without affecting global proxy configuration. In addition, you can manage user name and password for the proxy server.
Advanced automated testing functionality:
- For automated testing, JExplorer allows you to emulate many user actions via the functionality of the Robot class. So you can emulate mouse actions and user input from the keyboard, place an element in focus, search for a particular element within a document, populate an input control with values, etc.
Lower-level management of Internet Explorer settings:
- With the InternetFeatures class of JExplorer, you are given access to advanced Internet settings. You can disable ActiveX controls, block navigation to any page with a malformed URL, enable/disable a pop-up blocker, and more.
Direct access to MSHTML API via wrappers for COM interfaces:
- JExplorer provides support for native peers whereby you can work directly with COM interfaces of the Internet Explorer COM API to implement functionality not yet available in JExplorer.