### install() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.extensions.callback/-install-extension-callback/-action/index.html Installs the extension associated with the callback. ```APIDOC ## install() ### Description Installs the extension. ### Signature `public void install()` ``` -------------------------------- ### start Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-start-presentation-callback/-action/index.html Initiates the presentation on the specified media receiver. ```APIDOC ### Method `public void start(MediaReceiver receiver)` Starts the presentation on the provided `MediaReceiver` instance. ``` -------------------------------- ### download() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-start-download-callback/-params/index.html Retrieves the Download process instance that is about to start. ```APIDOC ### Method `public Download download()` ### Description Returns the `Download` process instance that is about to start. ``` -------------------------------- ### download() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-start-download-callback/-params/download.html Retrieves the Download process instance that is about to start. ```APIDOC ## download() ### Description Returns the `Download` process instance that is about to start. ### Signature `public Download download()` ### Returns - **Download** - The process instance representing the download that is about to be initiated. ``` -------------------------------- ### install(Path crxFile) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.extensions/-extensions/index.html Installs a Chrome extension from a CRX file. ```APIDOC ## install(Path crxFile) ### Description Installs the Chrome extension from the provided CRX file path. ### Parameters - **crxFile** (Path) - Required - The file path to the CRX file. ``` -------------------------------- ### extension() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.extensions.event/-extension-installed/index.html Retrieves the extension instance associated with the installation event. ```APIDOC ## Extension extension() ### Description Returns the extension that has been installed. ### Signature `public Extension extension()` ### Returns - **Extension** - The extension object that was installed. ``` -------------------------------- ### Extension install(Path crxFile) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.extensions/-extensions/install.html Installs a Chrome extension from a provided CRX file. If the extension exists, it returns the current instance or updates it if the CRX file contains a newer version. ```APIDOC ## install(Path crxFile) ### Description Installs the Chrome extension from the given CRX file. No publisher proof is required. If the extension is already installed, this method returns it. If the CRX file contains a newer version, it updates the extension and returns the updated instance. ### Parameters - **crxFile** (Path) - Required - The path to the extension CRX package. ### Returns - **Extension** - The installed Chrome extension. ### Throws - **ExtensionInstallationException** - If the installation fails or a newer version is already installed. - **ObjectClosedException** - If the engine is closed or the profile is deleted. ``` -------------------------------- ### TimeRange.startingFrom(Timestamp start) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.time/-time-range/index.html Creates a TimeRange starting from a specific point until the maximum allowed date. ```APIDOC ### Method public static TimeRange startingFrom(Timestamp start) ### Description Creates TimeRange from the `start` point and to `9999-12-31T23:59:59Z`. ### Parameters - **start** (Timestamp) - The beginning of the range. ``` -------------------------------- ### void downloadUrl(String url) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser/-browser/download-url.html Starts downloading the resource at the specified URL. If the URL is valid, the download process begins. Use StartDownloadCallback to manage the process. ```APIDOC ## void downloadUrl(String url) ### Description Starts downloading the resource at the specified URL. If the given URL is valid and points to a downloadable resource, the download process will be started. To control the download process, use tech.fuzio.browser.callback.StartDownloadCallback. ### Parameters - **url** (String) - The URL of the resource to download. ### Throws - **IllegalArgumentException** - Thrown when url is an empty or blank string. - **ObjectClosedException** - Thrown when the browser is already closed. ``` -------------------------------- ### TimeRange.startingFrom(Timestamp start) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.time/-time-range/starting-from.html Creates a new TimeRange instance starting from the provided timestamp until the maximum supported date. ```APIDOC ## TimeRange.startingFrom ### Description Creates a TimeRange object starting from the specified `start` point and ending at 9999-12-31T23:59:59Z. ### Signature `public static TimeRange startingFrom(Timestamp start)` ### Parameters - **start** (Timestamp) - Required - The start point in time for the range. ``` -------------------------------- ### Implementing BinariesDelivery Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.engine/-binaries-delivery/index.html Example implementation of the BinariesDelivery interface for a shared network drive, including extraction logic. ```java class SharedDriveDelivery implements BinariesDelivery { void deliverTo(Path chromiumDir) { Path downloadedArchive = SharedNetworkDrive.download("fuzio-win64.gz"); Gzip.extract(downloadedArchive, chromiumDir); } } ... ChromiumBinaries.deliverTo(chromiumDir, new SharedDriveDelivery()); ``` -------------------------------- ### list() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.extensions/-extensions/index.html Lists all installed Chrome extensions. ```APIDOC ## list() ### Description Returns an immutable list of all currently installed Chrome extensions. ``` -------------------------------- ### InstallExtensionCallback.Params Interface Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.extensions.callback/-install-extension-callback/-params/index.html The Params interface exposes methods to access details about an extension being installed. ```APIDOC ## InstallExtensionCallback.Params ### Description Provides access to the parameters associated with an extension installation callback. ### Methods - **extensionCrxFile()** (String) - Returns the absolute path to the CRX file. - **extensionId()** (String) - Returns the ID of the extension to install. - **extensionName()** (String) - Returns the name of the extension to install. - **extensionVersion()** (String) - Returns the version of the extension to install. - **hosts()** (List) - Returns an immutable list of hosts the extension requests access to. - **permissions()** (List) - Returns an immutable list of required extension permissions. ``` -------------------------------- ### list() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.plugin/-plugins/index.html Retrieves a list of all installed and available Chromium plugins. ```APIDOC ## list() ### Description Returns an immutable list of the installed and available Chromium plugins, or an empty list if none are available. ``` -------------------------------- ### PrintPdfCallback Implementation Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-print-pdf-callback/index.html Example demonstrating how to handle a PDF print request by selecting a specific printer and applying custom print settings. ```APIDOC ## PrintPdfCallback ### Description This callback is invoked when the browser initiates a PDF print operation. It provides access to printer selection and print job configuration. ### Usage 1. Use `params.printers()` to find the desired printer. 2. Obtain a `PrintJob` from the printer. 3. Configure settings via `printJob.settings()`. 4. Apply settings and call `tell.proceed(printer)` to execute the print job. ### Example ```java browser.set(PrintPdfCallback.class, (params, tell) -> { SystemPrinter printer = params.printers().list().stream() .filter(p -> p.deviceName().equals("Microsoft XPS Document Writer")) .findFirst() .orElseThrow(() -> new IllegalStateException("The printer is not found.")); PrintJob printJob = printer.printJob(); printJob.settings() .paperSize(ISO_A4) .enableCollatePrinting() .colorModel(COLOR) .apply(); printJob.on(PrintCompleted.class, event -> System.out.println("Printing is completed: success = " + event.isSuccess())); tell.proceed(printer); }); ``` ``` -------------------------------- ### list() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-start-presentation-callback/-params/index.html Retrieves the list of media receivers capable of starting the presentation. ```APIDOC ### Method public List list() ### Description Returns the list of media receivers that are able to start presentation from presentationRequest. ``` -------------------------------- ### on(StartCaptureSessionCallback.Params params, StartCaptureSessionCallback.Action tell) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.view.javafx.callback/-default-start-capture-session-callback/index.html Invokes the callback logic to handle the start capture session request. ```APIDOC ### Method `public void on(StartCaptureSessionCallback.Params params, StartCaptureSessionCallback.Action tell)` ### Description Invoked when the callback needs a response for the given capture session parameters. This implementation typically triggers the capture source picker dialog. ### Parameters - **params** (StartCaptureSessionCallback.Params) - The parameters associated with the capture session request. - **tell** (StartCaptureSessionCallback.Action) - The action interface used to provide a response to the callback. ``` -------------------------------- ### list() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-start-presentation-callback/-params/list.html Retrieves the list of media receivers available for starting a presentation. ```APIDOC ## list() ### Description Returns the list of media receivers that are able to start a presentation from the associated presentationRequest. ### Signature `public List list()` ### Returns - **List** - A list of media receiver objects capable of handling the presentation request. ``` -------------------------------- ### StartPresentationCallback.Action(Consumer consumer) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-start-presentation-callback/-action/-start-presentation-callback.-action.html Constructor for the Action class, used to define the callback behavior for presentation start events. ```APIDOC ## Constructor: StartPresentationCallback.Action ### Description Initializes a new instance of the Action class with a consumer to process the response from a presentation start request. ### Signature `public void StartPresentationCallback.Action(Consumer consumer)` ### Parameters - **consumer** (Consumer) - Required - A functional interface to handle the `StartPresentation.Response` object. ``` -------------------------------- ### proceed() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.media.callback/-select-media-device-callback/-action/index.html Allows the system to list available media input devices. ```APIDOC ### proceed() Allows Chromium to list the available media input devices. ``` -------------------------------- ### TimeRange.between(Timestamp start, Timestamp end) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.time/-time-range/between.html Creates a new TimeRange instance defined by the provided start and end points. Throws an IllegalArgumentException if the start time is equal to or after the end time. ```APIDOC ## TimeRange.between ### Description Creates a TimeRange between two points in time. ### Signature `public static TimeRange between(Timestamp start, Timestamp end)` ### Parameters - **start** (Timestamp) - The start point in time. - **end** (Timestamp) - The end point in time. ### Throws - **IllegalArgumentException** - Thrown if `start` is equal to or after `end`. ``` -------------------------------- ### InstallExtensionCallback.Action Constructor Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.extensions.callback/-install-extension-callback/-action/-install-extension-callback.-action.html Initializes a new action callback for handling InstallExtension responses. ```APIDOC ## InstallExtensionCallback.Action ### Description Initializes a new instance of the Action class, which accepts a consumer to process the response from an extension installation. ### Signature `public void InstallExtensionCallback.Action(Consumer consumer)` ### Parameters - **consumer** (Consumer) - Required - A functional interface that processes the `InstallExtension.Response` object once the installation process completes. ``` -------------------------------- ### Handle PresentationRequest with StartPresentationCallback Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.cast/-presentation-request/index.html Demonstrates how to use a callback to filter available media receivers and initiate a presentation on a specific device. ```java browser.set(StartPresentationCallback.class, (params, tell) -> { Optional mediaReceiver = params.list() .stream() .filter(it -> it.name().startsWith("Samsung TV")) .findAny(); if (mediaReceiver.isPresent()) { MediaReceiver samsungTv = mediaReceiver.get(); if (samsungTv.supports(params.presentationRequest())) { tell.start(samsungTv); } else { tell.cancel(); } } else { tell.cancel(); } }); ``` -------------------------------- ### browser() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.event/-render-process-started/index.html Retrieves the Browser instance that initiated the render process started event. ```APIDOC ## public Browser browser() ### Description Returns the `Browser` instance that initiated this event. ### Returns - **Browser** - The browser instance associated with the render process. ``` -------------------------------- ### proceed() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.media.callback/-select-media-device-callback/-action/proceed.html Allows Chromium to list the available media input devices. All media input devices of the requested type will be visible to JavaScript. ```APIDOC ## void proceed() ### Description Allows Chromium to list the available media input devices. All media input devices of the requested type will be visible to JavaScript. ### Usage - For `getUserMedia()` calls, Chromium will select the most suitable available device and use it for the media stream. - For `enumerateDevices()` calls, all available input devices will be included in the resulting device list. ``` -------------------------------- ### extensionVersion() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.extensions.callback/-install-extension-callback/-params/extension-version.html Retrieves the version of the extension to be installed. ```APIDOC ## extensionVersion() ### Description Returns the version of the extension to install. ### Signature `public String extensionVersion()` ### Returns - **String** - The version identifier of the extension. ``` -------------------------------- ### proceed Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-open-extension-action-popup-callback/-action/index.html Opens the extension action popup browser and loads its content. ```APIDOC ### Method `public void proceed()` Triggers the opening of the extension action popup and initiates the loading of its content. ``` -------------------------------- ### cancel() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.extensions.callback/-install-extension-callback/-action/index.html Cancels the extension installation process. ```APIDOC ## cancel() ### Description Cancel the installation. ### Signature `public void cancel()` ``` -------------------------------- ### SystemProxyConfig.newInstance() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.net.proxy/-system-proxy-config/index.html Creates and returns a new instance of the system proxy configuration. ```APIDOC ## SystemProxyConfig.newInstance() ### Description Creates a new instance of the system proxy configuration. ### Signature `public static SystemProxyConfig newInstance()` ### Returns - **SystemProxyConfig** - A new instance of the system proxy configuration. ``` -------------------------------- ### get Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.dom/-element-attributes/index.html Retrieves the value of a specific attribute. ```APIDOC ### Method String get(String name) ### Description Returns the value of the attribute with the given name. ``` -------------------------------- ### StartDownloadCallback.Action Constructor Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-start-download-callback/-action/-start-download-callback.-action.html Initializes a new instance of the Action class with a consumer to process StartDownload responses. ```APIDOC ## StartDownloadCallback.Action ### Signature `public void StartDownloadCallback.Action(Consumer consumer)` ### Description Initializes the action handler for download callbacks. It accepts a consumer that will be invoked with the `StartDownload.Response` object once the download process is initiated. ### Parameters - **consumer** (Consumer) - Required - A functional interface to handle the response of the start download operation. ``` -------------------------------- ### nodeValue() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.dom/-element/index.html Gets or sets the node value. ```APIDOC ## String nodeValue() ### Description Returns a string that represents the node value. ## void nodeValue(String value) ### Description Updates the node value with the given new `value`. ``` -------------------------------- ### CompletableFuture cast(MediaReceiver receiver) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser/-browser/cast.html Starts casting the browser content to the provided media receiver. The method handles default PresentationRequest scenarios and returns a future that completes upon successful session start or throws specific exceptions. ```APIDOC ## cast(MediaReceiver receiver) ### Description Starts casting the browser content to the media `receiver`. If a default `PresentationRequest` is defined on the web page, the presentation of the media content is started instead of casting the browser content. ### Signature `public abstract CompletableFuture cast(MediaReceiver receiver)` ### Parameters - **receiver** (MediaReceiver) - Required - The target media receiver to cast content to. ### Returns - **CompletableFuture** - A future that completes when the cast session has started. ### Throws - **CastSessionStartFailedException** - If the cast session fails to start. - **IllegalStateException** - If media routing is disabled. - **ObjectClosedException** - If the browser is closed during the operation. - **CancellationException** - If the future is canceled because the browser was closed during the casting start. ``` -------------------------------- ### StartPresentationCallback.Action Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-start-presentation-callback/-action/index.html Constructor for the Action class, accepting a consumer to handle the StartPresentation.Response. ```APIDOC ### Constructor `public void StartPresentationCallback.Action(Consumer consumer)` Initializes a new action with a consumer to process the presentation response. ``` -------------------------------- ### on(params: P, tell: R) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-start-download-callback/index.html Invoked when the browser is about to start downloading a file. This method provides the parameters containing file information and a response object to either download or cancel the operation. ```APIDOC ## void on(P params, R tell) ### Description Invoked when the callback needs a response for the given callback parameters. Use the provided parameters to determine file details and the response object to trigger the download or cancel it. ### Parameters - **params** (P) - The parameters containing information about the file to be downloaded. - **tell** (R) - The response object used to perform actions like downloading or canceling. ``` -------------------------------- ### PageRange.from() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.print/-page-range/index.html Retrieves the starting page number of the range. ```APIDOC ## PageRange.from() ### Description Returns the number of the first page within the range. ### Returns - **int** - The first page number. ``` -------------------------------- ### cancel Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-start-presentation-callback/-action/index.html Cancels the pending start presentation request. ```APIDOC ### Method `public void cancel()` Cancels the start of the presentation. ``` -------------------------------- ### build() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.ui.event/-touch-started/-builder/index.html Creates a new TouchStarted instance based on the current configuration of the builder. ```APIDOC ### Method `public TouchStarted build()` ### Description Creates a new TouchStarted instance on top of this builder. ``` -------------------------------- ### on(params, tell) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.view.swing.callback/-default-start-capture-session-callback/index.html Invokes the callback logic to handle the start of a capture session, typically by displaying a source picker dialog. ```APIDOC ## Method ### on(StartCaptureSessionCallback.Params params, StartCaptureSessionCallback.Action tell) ### Description Invoked when the callback needs a response for the given capture session parameters. This implementation triggers the capture source picker dialog. ### Parameters - **params** (StartCaptureSessionCallback.Params) - The parameters associated with the capture session request. - **tell** (StartCaptureSessionCallback.Action) - The action interface used to provide a response to the callback. ``` -------------------------------- ### Engine.newInstance(EngineOptions options) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.engine/-engine/new-instance.html Initializes and runs the Chromium engine using the provided engine options. ```APIDOC ## Engine.newInstance(EngineOptions options) ### Description Initializes and runs the Chromium engine with the given options. This process may take several seconds and should not be executed on the application UI thread. ### Parameters - **options** (EngineOptions) - Required - The engine configuration options. ### Returns - **Engine** - A new instance of the Engine. ### Throws - EnvironmentException, UserDataDirectoryCreationException, UserDataDirectoryAlreadyInUseException, IpcSetupFailureException, ChromiumProcessStartupFailureException, NoLicenseException, InvalidLicenseException, ChromiumBinariesDeliveryException, MissingDependencyException, SandboxNotSupportedException ``` -------------------------------- ### build() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.ui.event/-key-typed/-builder/index.html Constructs and returns a new KeyTyped instance based on the current builder configuration. ```APIDOC ### Method public KeyTyped build() ### Description Returns a new KeyTyped instance built from the current state of this builder. ``` -------------------------------- ### StartNavigationCallback.Response.start() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.navigation.callback/-start-navigation-callback/-response/start.html Notifies the browser that it should continue loading the URL. ```APIDOC ## public static StartNavigationCallback.Response start() ### Description Notifies the browser that it should continue loading the URL. ### Method Static Method ### Signature `public static StartNavigationCallback.Response start()` ### Returns - **StartNavigationCallback.Response** - An instance of the response indicating the browser should proceed with the navigation. ``` -------------------------------- ### textContent() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.dom/-node/index.html Gets or sets the text content of the node. ```APIDOC ### textContent() Returns the text content of the current node and its descendants. ### textContent(String textContent) Removes all current node children and replaces them with a single text node containing the provided `textContent`. ``` -------------------------------- ### StartNavigationCallback.Response.start() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.navigation.callback/-start-navigation-callback/-response/index.html Notifies the browser that it should continue loading the requested URL. ```APIDOC ### Method public static StartNavigationCallback.Response start() ### Description Notifies the browser that it should continue loading the URL. ``` -------------------------------- ### value Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.dom/-input-element/index.html Gets or sets the value of the form control. ```APIDOC ## String value() ### Description Returns a string that represents the value associated with the form control. ## void value(String value) ### Description Associates the given value with the control. ### Parameters - **value** (String) - Required - The value to associate with the control. ``` -------------------------------- ### textContent Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.dom/-input-element/index.html Gets or sets the text content of the node. ```APIDOC ## String textContent() ### Description Returns the text content of the current node and its descendants. ## void textContent(String textContent) ### Description Removes all the current node children and replaces them with a single text node with the given textContent. ### Parameters - **textContent** (String) - Required - The text to set for the node. ``` -------------------------------- ### Configure PDF printing with PrintPdfCallback Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-print-pdf-callback/index.html Demonstrates selecting a specific printer, applying PDF print settings, and handling completion events. ```java browser.set(PrintPdfCallback.class, (params, tell) -> { SystemPrinter printer = params.printers().list().stream() .filter(p -> p.deviceName().equals("Microsoft XPS Document Writer")) .findFirst() .orElseThrow(() -> new IllegalStateException("The printer is not found.")); PrintJob printJob = printer.printJob(); printJob.settings() .paperSize(ISO_A4) .enableCollatePrinting() .colorModel(COLOR) .apply(); printJob.on(PrintCompleted.class, event -> System.out.println("Printing is completed: success = " + event.isSuccess())); tell.proceed(printer); }); ``` -------------------------------- ### Manage Browser Lifecycle Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser/-browser/index.html Demonstrates creating a new browser instance and explicitly closing it to release resources. ```java Browser browser = engine.newBrowser(); ... browser.close(); ``` -------------------------------- ### innerHtml Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.dom/-input-element/index.html Gets or sets the HTML content of the element. ```APIDOC ## innerHtml ### Signatures `public abstract String innerHtml()` `public abstract boolean innerHtml(String html)` ### Description Returns a string with the HTML content of this element, or replaces the HTML content with the given `html`. ``` -------------------------------- ### nodeValue Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.dom/-image-element/index.html Methods to get or update the node value. ```APIDOC ## String nodeValue() Returns a string that represents the node value. ## void nodeValue(String value) Updates the node value with the given new value. ``` -------------------------------- ### TouchStarted.Builder.build() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.ui.event/-touch-started/-builder/build.html Creates a new TouchStarted instance on top of this builder. ```APIDOC ## build() ### Description Creates a new TouchStarted instance on top of this builder. ### Signature `public TouchStarted build()` ### Returns - **TouchStarted** - A new instance of the TouchStarted class. ``` -------------------------------- ### SystemProxyConfig.newInstance() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.net.proxy/-system-proxy-config/new-instance.html Creates a new instance of SystemProxyConfig that utilizes the proxy settings configured at the operating system level. ```APIDOC ## SystemProxyConfig.newInstance() ### Description Creates a system proxy configuration. With this proxy configuration, the proxy settings configured for your operating system are reused. ### Signature `public static SystemProxyConfig newInstance()` ### Returns - **SystemProxyConfig** - A new instance of the system proxy configuration. ``` -------------------------------- ### innerHtml() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.dom/-element/index.html Gets or sets the HTML content of the element. ```APIDOC ## String innerHtml() ### Description Returns a string with the HTML content of this element, or an empty string if the element does not have inner HTML. ## boolean innerHtml(String html) ### Description Replaces the HTML content of this element with the given `html`. ``` -------------------------------- ### textContent() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.dom/-attribute/index.html Gets or sets the text content of the node. ```APIDOC ### textContent() Returns the `String` text content of the current node and its descendants. ### textContent(String textContent) Removes all the current node children and replaces them with a single text node with the given `textContent`. ``` -------------------------------- ### public static void traceEnvironment() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.os/-environment/trace-environment.html Prints the current environment details to the log with the INFO level. ```APIDOC ## traceEnvironment ### Description Prints the current environment details to the log with the INFO level. ### Signature `public static void traceEnvironment()` ``` -------------------------------- ### Using JsPromise Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.js/-js-promise/index.html Demonstrates how to execute JavaScript to create a promise and register a fulfillment handler in Java. ```java JsPromise jsPromise = frame.executeJavaScript("Promise.resolve('Resolved')"); jsPromise.then(results -> System.out.println(results[0])); ``` -------------------------------- ### cancel Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.extensions.callback/-uninstall-extension-callback/-action/index.html Cancels the uninstallation process and keeps the extension installed. ```APIDOC ### Method `public void cancel()` Cancels the pending uninstallation request. ``` -------------------------------- ### StartTouchCallback.Response.proceed() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback.input/-start-touch-callback/-response/index.html Returns a Response instance that allows the browser to process the event. ```APIDOC ## public static StartTouchCallback.Response proceed() ### Description Returns a Response instance that allows the browser to process the event. ### Returns - **Response** - A response instance indicating the event should proceed. ``` -------------------------------- ### StartTouchCallback.Response.proceed() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback.input/-start-touch-callback/-response/proceed.html Returns a Response instance that allows the browser to process the event. ```APIDOC ## public static StartTouchCallback.Response proceed() ### Description Returns a `Response` instance that allows the browser to process the event. ### Method Static Method ### Returns - **Response** (StartTouchCallback.Response) - An instance that allows the browser to process the event. ``` -------------------------------- ### textContent() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.dom/-element/index.html Gets or sets the text content of the node and its descendants. ```APIDOC ## String textContent() ### Description Returns the text content of the current node and its descendants. ## void textContent(String textContent) ### Description Removes all the current node children and replaces them with a single text node with the given `textContent`. ``` -------------------------------- ### withAudio() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.cast/-screen-cast-options/-builder/index.html Configures the builder to include audio in the screen casting session. ```APIDOC ### withAudio() #### Description Requests audio casting along with video. #### Signature `public ScreenCastOptions.Builder withAudio()` ``` -------------------------------- ### outerHtml() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.dom/-element/index.html Gets or sets the HTML serialization of the element and its descendants. ```APIDOC ## String outerHtml() ### Description Returns a string with the HTML serialization of this element and its descendants. ## boolean outerHtml(String html) ### Description Replaces the element and all of its descendants with a new DOM tree constructed by parsing the given `html`. ``` -------------------------------- ### innerText() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.dom/-element/index.html Gets or sets the text content of the element and its descendants. ```APIDOC ## String innerText() ### Description Returns a string with the text content of the element and its descendants. ## boolean innerText(String innerText) ### Description Replaces the text content of the element with the given `innerText` value. ``` -------------------------------- ### SelectMediaDeviceCallback.Action Constructor Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.media.callback/-select-media-device-callback/-action/-select-media-device-callback.-action.html Initializes a new instance of the Action class with a consumer to process the media device selection response. ```APIDOC ## SelectMediaDeviceCallback.Action ### Signature `public void SelectMediaDeviceCallback.Action(Consumer consumer)` ### Description Initializes the action callback with a consumer that processes the `SelectMediaDevice.Response` object. ### Parameters - **consumer** (Consumer) - Required - A functional interface to handle the response from the media device selection process. ``` -------------------------------- ### list() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.plugin/-plugins/list.html Retrieves an immutable list of all installed and available Chromium plugins. ```APIDOC ## list() ### Description Returns an immutable list of the installed and available Chromium plugins. If no plugins are installed or available, an empty list is returned. ### Signature `public abstract List list()` ### Throws - **ObjectClosedException**: Thrown when the profile is deleted or its engine is closed. ``` -------------------------------- ### Engine.newInstance Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.engine/-engine/index.html Initializes and runs the Chromium engine with specified options or rendering mode. ```APIDOC ## Engine.newInstance ### Description Initializes and runs the Chromium engine. A license key is required, which can be set via the 'fuzio.license.key' system property or individually. ### Signature - `public static Engine newInstance(EngineOptions options)` - `public static Engine newInstance(RenderingMode renderingMode)` ### Parameters - **options** (EngineOptions) - Configuration options for the engine. - **renderingMode** (RenderingMode) - The rendering mode to use for the engine. ``` -------------------------------- ### build() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.ui/-color/-builder/index.html Constructs and returns a new Color instance. ```APIDOC ### Method public Color build() ### Description Returns a new tech.fuzio.ui.internal.rpc.Color instance built from the current state of this builder. ``` -------------------------------- ### value Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.dom/-text-area-element/index.html Methods to get or set the value associated with the form control. ```APIDOC ## String value() ### Description Returns a string that represents the value associated with the form control. ## void value(String value) ### Description Associates the given value with the control. ``` -------------------------------- ### newBrowser() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.engine/-engine/new-browser.html Creates a new Browser instance under the default profile and navigates it to 'about:blank'. ```APIDOC ## newBrowser() ### Description Creates a new `Browser` instance under the default profile and navigates it to the "about:blank" web page within the defaultTimeout. The rendering mode defaults to the engine's configured mode. ### Returns - **Browser** - A new browser instance. ### Throws - **TimeoutException** - When the engine failed to create a browser instance within the timeout. - **NavigationException** - When the navigation to "about:blank" has failed. - **ObjectClosedException** - When the engine is already closed. ``` -------------------------------- ### targetTouches() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.ui.event/-touch-ended/target-touches.html Retrieves the list of touch points that started on the target element of the event. ```APIDOC ## targetTouches() ### Description Returns a list of touch points that have started on the target element of this event. The returned list contains elements from the global touches list, though the original ordering is not preserved. ### Signature `public List targetTouches()` ### Returns - **List** - A list of touch points associated with the target element. ``` -------------------------------- ### proceed() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback.input/-press-key-callback/-response/index.html Returns a Response instance that allows the browser to process the key press event. ```APIDOC ### public static PressKeyCallback.Response proceed() Returns a `Response` instance that allows the browser to process the event. ``` -------------------------------- ### build() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.ui.event/-mouse-exited/-builder/index.html Constructs a new MouseExited instance based on the current builder configuration. ```APIDOC ### build() Returns a new MouseExited instance built from the current state of this builder. ``` -------------------------------- ### targetTouches() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.ui.event/-touch-canceled/target-touches.html Retrieves the list of touch points that started on the target element of the event. ```APIDOC ## targetTouches() ### Description Returns a list of touch points that have started on the target element of this event. Note that the ordering of elements in the returned list is not preserved. ### Signature `public List targetTouches()` ### Returns - **List** - A list of touch points associated with the target element. ``` -------------------------------- ### Initialize and close the Engine Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.engine/-engine/index.html Create an engine instance using options and ensure it is closed to release native resources. ```java Engine engine = Engine.newInstance(engineOptions); ... engine.close(); ``` -------------------------------- ### int location() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.spellcheck/-spell-checking-result/location.html Retrieves the starting index of the first misspelled symbol in the text. ```APIDOC ## int location() ### Description Returns the location of the first symbol in the mis-spelled word in the checked text that is considered as mis-spelled by the spell checker. ### Signature `public int location()` ### Returns - **int** - The index of the first symbol in the misspelled word. ``` -------------------------------- ### proceed() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback.input/-end-touch-callback/-response/index.html Returns a Response instance that allows the browser to process the touch event. ```APIDOC ### public static EndTouchCallback.Response proceed() Returns a `Response` instance that allows the browser to process the event. ``` -------------------------------- ### dispatch(TouchStarted event) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser/-browser/dispatch.html Dispatches a touch started event to the web page. ```APIDOC ## dispatch(TouchStarted event) ### Description Dispatches the touch started event to the currently loaded web page. Touch forwarding is not supported on macOS. ### Parameters - **event** (TouchStarted) - The touch started event. ### Throws - **ObjectClosedException** - when the browser is already closed. ``` -------------------------------- ### proceed() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback.input/-cancel-touch-callback/-response/index.html Returns a Response instance that allows the browser to process the touch event. ```APIDOC ### Method public static CancelTouchCallback.Response proceed() ### Description Returns a Response instance that allows the browser to process the event. ``` -------------------------------- ### extensionMenuItems() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-show-context-menu-callback/-params/extension-menu-items.html Retrieves an immutable list of context menu items registered by installed extensions. ```APIDOC ## extensionMenuItems() ### Description Returns an immutable list of context menu items registered by installed extensions. ### Signature `public List extensionMenuItems()` ### Returns - **List** - An immutable list containing the context menu items provided by installed extensions. ``` -------------------------------- ### build() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.cast/-screen-cast-options/-builder/build.html Constructs a new ScreenCastOptions instance from the current builder state. ```APIDOC ## build() ### Description Returns a new ScreenCastOptions instance built from the current state of this builder. ### Signature `public ScreenCastOptions build()` ### Returns - **ScreenCastOptions** - A new instance configured with the current builder settings. ``` -------------------------------- ### void show() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.devtools/-dev-tools/show.html Opens the Chromium Developer Tools panel in a new window. If the window is already visible, this method performs no action. ```APIDOC ## void show() ### Description Opens the Chromium Developer Tools panel in a new window. It does nothing if the Developer Tools window is already shown. ### Signature `public abstract void show()` ``` -------------------------------- ### get(Class callbackClass) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.extensions/-extensions/index.html Retrieves a registered callback of the specified type. ```APIDOC ## get(Class callbackClass) ### Description Returns an Optional containing the callback of the given type, or an empty Optional if no such callback is registered. ### Parameters - **callbackClass** (Class) - Required - The class type of the callback to retrieve. ``` -------------------------------- ### Create a UserAgentBrand instance Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.net/-user-agent-brand/index.html Use the static create method to instantiate a new UserAgentBrand with a specified name and version. ```java public static UserAgentBrand create(String name, String version) ``` -------------------------------- ### list() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.extensions/-extensions/list.html Returns an immutable list of installed Chrome extensions. This method is part of the Extensions interface. ```APIDOC ## list() ### Description Returns an immutable list of installed Chrome extensions. ### Signature `public abstract List list()` ### Throws - **ObjectClosedException**: Thrown when the engine is closed or the profile is deleted. ``` -------------------------------- ### OpenFilesCallback.Action(Consumer consumer) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-open-files-callback/-action/-open-files-callback.-action.html Constructor for initializing the OpenFilesCallback.Action with a consumer for handling file response data. ```APIDOC ## OpenFilesCallback.Action ### Description Initializes a new instance of the Action class with a consumer to process the response from an open files operation. ### Signature `public void OpenFilesCallback.Action(Consumer consumer)` ### Parameters - **consumer** (Consumer) - Required - A functional interface that accepts an OpenFiles.Response object to process the result of the file opening action. ``` -------------------------------- ### targetTouches(List points) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.ui.event/-touch-moved/-builder/target-touches.html Sets the touch points that started on the target element of this event. ```APIDOC ## targetTouches(List points) ### Description Sets the touch points that started on the target element of this event. ### Parameters - **points** (List) - Required - The list of touch points to associate with the target element. ### Return - **Builder** - Returns the current instance of the builder. ``` -------------------------------- ### proceed() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-open-popup-callback/-response/index.html Returns a Response instance indicating that the popup operation has been successfully initiated. ```APIDOC ## public static OpenPopupCallback.Response proceed() ### Description Returns the `Response` instance that indicates that the popup has been opened. ### Returns - **Response** - An instance representing the successful opening of the popup. ``` -------------------------------- ### targetTouches(List points) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.ui.event/-touch-ended/-builder/target-touches.html Sets the touch points that started on the target element of this event. ```APIDOC ## targetTouches ### Description Sets the touch points that started on the target element of this event. ### Signature `public TouchEnded.Builder targetTouches(List points)` ### Parameters - **points** (List) - The touch points to be associated with the target element. ### Returns - **TouchEnded.Builder** - Returns this builder instance for method chaining. ``` -------------------------------- ### build() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.cast/-screen-cast-options/-builder/index.html Constructs and returns a new ScreenCastOptions instance based on the current configuration of the builder. ```APIDOC ### build() #### Description Returns a new ScreenCastOptions instance built from the current state of this builder. #### Signature `public ScreenCastOptions build()` ``` -------------------------------- ### TouchCanceled.Builder.targetTouches(List points) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.ui.event/-touch-canceled/-builder/target-touches.html Sets the touch points that started on the target element of this event. ```APIDOC ## targetTouches ### Description Sets the touch points that started on the target element of this event. ### Signature `public TouchCanceled.Builder targetTouches(List points)` ### Parameters - **points** (List) - The touch points that started on the target element. ### Returns - **TouchCanceled.Builder** - Returns this builder instance for method chaining. ``` -------------------------------- ### WebRTC IP Handling Policy Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser/-browser-settings/index.html Methods to get and set the WebRTC IP handling policy. ```APIDOC ## WebRtcIpHandlingPolicy webRtcIpHandlingPolicy() Returns the current WebRTC IP handling policy. ## void webRtcIpHandlingPolicy(WebRtcIpHandlingPolicy policy) Updates the WebRTC IP handling policy for the browser. ``` -------------------------------- ### void deliverTo(Path chromiumDir) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.engine/-binaries-delivery/index.html Delivers Chromium binaries to the specified directory, including any necessary decompression or post-processing. ```APIDOC ## void deliverTo(Path chromiumDir) ### Description Delivers Chromium binaries to the provided `chromiumDir`. This method is responsible for the full lifecycle of binary acquisition, including downloading and extraction. ### Parameters - **chromiumDir** (Path) - Required - The target directory where the Chromium binaries should be delivered. ``` -------------------------------- ### proceed() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback.input/-press-mouse-callback/-response/index.html Returns a Response instance that allows the browser to process the mouse event. ```APIDOC ### public static PressMouseCallback.Response proceed() Returns a `Response` instance that allows the browser to process the event. ``` -------------------------------- ### TimeRange.between(Timestamp start, Timestamp end) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.time/-time-range/index.html Creates a new TimeRange instance between two specified timestamps. ```APIDOC ### Method public static TimeRange between(Timestamp start, Timestamp end) ### Description Creates a TimeRange between two points in time. ### Parameters - **start** (Timestamp) - The beginning of the range. - **end** (Timestamp) - The end of the range. ``` -------------------------------- ### PageRange.of(int from, int to) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.print/-page-range/index.html Creates a new instance of PageRange with the specified start and end page numbers. ```APIDOC ## PageRange.of(int from, int to) ### Description Creates a new page range instance. ### Parameters - **from** (int) - Required - The number of the first page within the range. - **to** (int) - Required - The number of the last page within the range. ``` -------------------------------- ### newInstance Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.view.javafx/-browser-view/index.html Creates a new BrowserView instance that displays the given browser instance. ```APIDOC ## public static BrowserView newInstance(Browser browser) ### Description Creates a new `BrowserView` instance that displays the given `browser` instance. ### Parameters - **browser** (Browser) - Required - The browser instance to be displayed. ``` -------------------------------- ### MediaStreamCaptureStarted Interface Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.event/-media-stream-capture-started/index.html An event interface indicating that the web page has started capturing an audio or video stream. ```APIDOC ## MediaStreamCaptureStarted ### Description An event indicating that the web page has started capturing an audio or video stream. This interface implements the BrowserEvent. ### Functions #### browser() Returns the `Browser` instance that initiated this event. #### mediaStreamType() Returns the `MediaStreamType` of the captured stream. ``` -------------------------------- ### boolean isReload() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-before-unload-callback/-params/is-reload.html Returns a boolean value indicating if the web page is being reloaded or if a new navigation is starting. ```APIDOC ## boolean isReload() ### Description Returns `true` if the web page is going to be reloaded, `false` when a new navigation is started. ### Returns - **boolean** - `true` if the page is reloading, `false` otherwise. ``` -------------------------------- ### deliverToDefaultDirectory() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.engine/-chromium-binaries/index.html Delivers Chromium binaries to the default directory if necessary. ```APIDOC ### deliverToDefaultDirectory() Delivers Chromium binaries to the default directory if necessary. ``` -------------------------------- ### get(Class callbackClass) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.callback/-advisable/get.html Retrieves a registered callback of the specified type. ```APIDOC ## get(Class callbackClass) ### Description Returns an `Optional` that contains the callback of the given type or an empty `Optional` if there is no registered callback with the given type. ### Parameters - **callbackClass** (Class) - Required - The class of the callback to retrieve. ### Returns - **Optional** - An `Optional` containing the callback of the given type, or empty if not found. ``` -------------------------------- ### on(ShowContextMenuCallback.Params params, ShowContextMenuCallback.Action tell) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.view.javafx.callback/-default-show-context-menu-callback/index.html Invokes the callback logic to handle context menu display requests. ```APIDOC ## Method: on(ShowContextMenuCallback.Params params, ShowContextMenuCallback.Action tell) ### Description This method is triggered when the system requires a response for a context menu event. ### Parameters - **params** (ShowContextMenuCallback.Params) - Required - The parameters associated with the context menu event. - **tell** (ShowContextMenuCallback.Action) - Required - The action interface used to provide a response to the callback. ``` -------------------------------- ### InjectJsCallback Implementation Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-inject-js-callback/index.html Example of how to register an InjectJsCallback to inject a Java object into the browser's window context. ```APIDOC ## InjectJsCallback ### Description This callback is invoked when the document element has been created, allowing for the injection of custom JavaScript or Java objects into the frame before scripts are executed. ### Usage Implement the callback and register it with the browser instance. Use the `executeJavaScript` method on the frame to interact with the window object. ### Example ```java browser.set(InjectJsCallback.class, params -> { JsObject window = params.frame().executeJavaScript("window"); if (window != null) { window.putProperty("java", new JavaObject()); } return InjectJsCallback.Response.proceed(); }); ``` ### Important Notes - Avoid modifying the DOM tree within this callback. - Do not use Fuzio DOM API to remove the frame, as this will crash the render process. - The engine is blocked until the callback returns. ``` -------------------------------- ### on(StartDownloadCallback.Params params, StartDownloadCallback.Action tell) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.view.javafx.callback/-default-start-download-callback/index.html Invoked when the download service requests a file download, allowing the callback to process parameters and provide a response. ```APIDOC ### Method `void on(StartDownloadCallback.Params params, StartDownloadCallback.Action tell)` ### Description Invoked when the callback needs a response for the given download parameters. This method triggers the file chooser dialog and handles validation for existing files or permission issues. ### Parameters - **params** (StartDownloadCallback.Params) - The parameters associated with the download request. - **tell** (StartDownloadCallback.Action) - The action interface used to provide a response to the download request. ``` -------------------------------- ### newInstance(String pacUrl) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.net.proxy/-url-proxy-config/index.html Creates a new instance of UrlProxyConfig using the specified PAC file URL. If the PAC script fails, the connection defaults to a direct connection. ```APIDOC ### Method public static UrlProxyConfig newInstance(String pacUrl) ### Description Creates a proxy configuration based on the PAC file located at the given `pacUrl`. ### Parameters - **pacUrl** (String) - Required - The URL address of the PAC file. ``` -------------------------------- ### Registering InjectJsCallback Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback/-inject-js-callback/index.html Example of setting the callback to inject a Java object into the browser's window context. ```java browser.set(InjectJsCallback.class, params -> { JsObject window = params.frame().executeJavaScript("window"); if (window != null) { window.putProperty("java", new JavaObject()); } return InjectJsCallback.Response.proceed(); }); ``` -------------------------------- ### UserAgentBrand.create(String name, String version) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.net/-user-agent-brand/create.html Creates a new UserAgentBrand instance with the specified name and version. Throws an IllegalArgumentException if the provided inputs are empty or blank. ```APIDOC ## UserAgentBrand.create ### Description Creates a new `UserAgentBrand` instance with the given brand and version. ### Signature `public static UserAgentBrand create(String name, String version)` ### Parameters - **name** (String) - The name of the user-agent or brand (e.g., "Chromium", "Google Chrome", "Edge"). - **version** (String) - The version of the brand (e.g., "133.0.4472.124", "133"). ### Throws - **IllegalArgumentException** - Thrown if the `brand` or `version` is empty or blank. ``` -------------------------------- ### extensionCrxFile() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.extensions.callback/-install-extension-callback/-params/extension-crx-file.html Retrieves the absolute path to the CRX file for an extension installation. Note that the file is temporary and will be deleted post-installation. ```APIDOC ## extensionCrxFile() ### Description Returns the absolute path to the CRX file the extension is about to be installed from. The file is automatically deleted after the installation is completed or canceled. ### Signature `public String extensionCrxFile()` ### Returns - **String**: The absolute path to the CRX file. ``` -------------------------------- ### CompletableFuture castScreen(MediaReceiver receiver) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser/-browser/cast-screen.html Starts casting screen content by selecting the screen in the picker dialog. ```APIDOC ## castScreen(MediaReceiver receiver) ### Description Starts casting screen's content by selecting the screen in the picker dialog. Returns a new `CompletableFuture` that is completed when the cast session has been started. ### Parameters - **receiver** (MediaReceiver) - Required - The media receiver that supports the SCREEN cast mode. ### Throws - **IllegalStateException** - if media routing is disabled - **ObjectClosedException** - if the browser is closed - **CastSessionStartFailedException** - if the cast session has not been started ``` -------------------------------- ### EnterMouseCallback.Response.proceed() Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.browser.callback.input/-enter-mouse-callback/-response/proceed.html Returns a Response instance that allows the browser to process the event. ```APIDOC ## proceed ### Signature `public static EnterMouseCallback.Response proceed()` ### Description Returns a `Response` instance that allows the browser to process the event. ``` -------------------------------- ### get(Object key) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.js/-js-map/get.html Retrieves the value associated with the specified key. Returns an empty Optional if the key does not exist. ```APIDOC ## get(Object key) ### Description Returns the value associated with the specified `key` or an empty `Optional` if there is no such key in this map. The method performs automatic type mapping between JavaScript and Java types. ### Parameters - **key** (Object) - Required - The key whose associated value is to be returned. - **T** (Type) - Required - The expected type of the returned value. ### Throws - **ObjectClosedException** - Thrown when the JavaScript object is already disposed or invalid. ### Returns - **T** - The value associated with the specified key or an empty Optional. ``` -------------------------------- ### void on(StartDownloadCallback.Params params, StartDownloadCallback.Action tell) Source: https://fuzio.tech/api/2026.6.0/java/-fuzio/tech.fuzio.view.javafx.callback/-default-start-download-callback/on.html Invoked when the callback needs a response for the given callback parameters. The response can be provided asynchronously or before the method returns, and must be provided exactly once. ```APIDOC ## void on(StartDownloadCallback.Params params, StartDownloadCallback.Action tell) ### Description Invoked when the callback needs a response for the given callback parameters. The response can be provided asynchronously from a different thread or before the method returns. The response can be provided only once. ### Parameters - **params** (StartDownloadCallback.Params) - The object that represents the callback parameters. - **tell** (StartDownloadCallback.Action) - The object that can be used to provide the callback response. One of its methods must be invoked to provide the response. Once the response has been provided, any call to the object methods will result in an IllegalStateException. ```