Posted on March 9, 2022

In this update we extend the API with functionality that allows autofill web forms with user data profiles and credit cards, upgrade Chromium to version 98, and fixed several important issues.

What’s New

Chromium 98

Chromium has been upgraded to version 98.0.4758.102.

This Chromium version includes many security fixes, so we recommend that you upgrade to this version.

Web Form Autofill

User Data Profiles

Now you can autofill web forms with user data profile that includes address, city, phone, first name, etc. To access all stored user data profiles use the following API:

profile.userDataProfiles().all().forEach(userDataProfile -> {
    String email = userDataProfile.email();
    String city = userDataProfile.address().city();
});

Web Form Autofill User Data

Credit Cards

Remember the credit card details, autofill web forms with it, manage the saved credit card details using the brand new API:

profile.creditCards().all().forEach(creditCard -> {
    String number = creditCard.number();
    CreditCardNetwork network = creditCard.network();
});

Web Form Autofill Credit Card

Linux Widevine

Use Widevine on Linux to watch DRM protected movies and audio. By default, Widevine is disabled. To enable it, please use the following option:

Engine engine = Engine.newInstance(
        EngineOptions.newBuilder(renderingMode)
                     .enableProprietaryFeature(ProprietaryFeature.WIDEVINE)
                     .build());

macOS Dictation

Now you can dictate messages and documents on Mac in both rendering modes.

macOS Dictation

Windows’ Emoji

Use the Windows’ Emoji window in the off-screen rendering mode.

Windows Emoji Dialog

Quality Enhancements

  • Restore Picture in Picture on Windows, Linux, and macOS in the off-screen rendering mode.
  • Fix the issue when the Cmd key is never released when pressing Cmd+A on macOS in JavaFX.
  • Fix the issue when the Pages Per Sheet setting is used, the printing either hangs or takes a lot of time (more than 5 minutes).
  • Fix JVM crash when closing a child modal window that contains BrowserView on macOS.
  • Fix JVM crash when hiding IME window on macOS Apple Silicon.
  • Fix the issue when the library fails to extract the default printer capabilities if printer and device name of a single printer are different.
  • If you stop navigation during taking bitmap, Chromium will hang. To handle such cases Browser.bitmap() now throws com.teamdev.jxbrowser.browser.BitmapTimeoutException.

Download

Download JxBrowser 7.23 Get Free 30-day Trial

Go Top