List icon Contents

Posted on June 5, 2025

JxBrowser 8.8.0

Download files in one call

Starting with JxBrowser 8.8.0, you can download any file without navigating to it:

browser.downloadUrl("https://example.com/avatar.png");

The browser will send a request with appropriate cookies saved for a domain. If the URL is valid and the server responds with a downloadable resource, the browser will start downloading.

To control the downloading process, use the StartDownloadCallback as we describe in the Downloads guide.

Clear browsing data with precision

Now, you can clear passwords, HTTP cache, and cookies created within a specific time range:

Instant twoDaysAgo = ...;
Instant today = ...;

profile.httpCache().clear(TimeRange.startingFrom(twoDaysAgo));
profile.cookieStore().deleteAll(TimeRange.upTo(today));
profile.passwordStore().clear(TimeRange.between(twoDaysAgo, today));

Point inspection on right-click

When a user opens a context menu in the browser view, you may want to know where exactly the user clicked and which element was under the mouse pointer.

Previously, the ShowContextMenuCallback provided this information only for the main frame.

In this version, we extended ShowContextMenuCallback with frame() and locationInFrame() methods, which allow you to know the exact frame and local coordinates of the right click:

browser.set(ShowContextMenuCallback.class, (params, tell) -> {
    params.frame().ifPresent(frame -> {
        Point clickLocation = params.locationInFrame();
        PointInspection inspection = frame.inspect(clickLocation);
        ...
    });
    ...
});

Absolute bounds of elements

Up to this version, you could only get the bounds of an HTML element relative to its frame. In this version, we have added the boundingClientRectInViewport() method that returns global bounds an element, relative to the viewport:

var localBounds = element.boundingClientRect();
var globalBounds = element.boundingClientRectInViewport();

Chromium 137.0.7151.69

We upgraded Chromium to a newer version, which introduces major security fixes including the fix for a vulnerability that have known exploits:

You can read more about it in the Chromium blog posts:

Quality enhancements

  • Fixed the issue when mouse input was forwarded to the browser from another window on Windows in the OFF_SCREEN mode.
  • Fixed empty thumbnails in StartCaptureSessionCallback.
  • Replaced architecture-specific JNI binary files with universal ones on macOS.

Download JxBrowser 8.8.0

Please share your email with us, and we'll send you download instructions.

Sending...
EmailBox Please check your inbox.

We were unable to send the email. Please use the direct link to download JxBrowser.

If you are a registered customer you don't need to do anything to use this update.

If you would like to evaluate the product, you need an evaluation license.

Get free 30-day trial