Important Announcement: New versions is not released to GitHub and not publicly available. Please contact us to download new cdp4j versions.
WebFolder

Products

cdp4j - Browser automation library for Java platform

Integrate a Chromium-based browser with your Java application to process HTML5, CSS3 and JavaScript.

These are Some of the Problems We Help Developers Solve

Printing

You can save the loaded web page as PDF document.

example
Cookies

You can access all the cookies including secure and HTTP-only ones, delete specific cookie or create a new one.

example
Navigation events

You can listen to different navigation events such as navigation started, finished, failed, redirected, frame load finished, etc.

example
User-agent

With cdp4j you can set your own user-agent for each Browser session.

example
Filtering URLs

The library allows you to handle navigation requests and ignore them when it's necessary.

example
Console Listener

You can listen to console message events including JavaScript errors.

example
DOM Access

DOM API provides functionality that can be used for accessing and modifying DOM, finding particular nodes, modifying their attributes and contents.

example
JavaScript to Java Bridge

You can execute JavaScript code on the loaded web page and return the result of execution to the Java side.

example
CSS, XPath and Text Selector

Evaluate XPath, CSS and text selector expressions in scope of the whole document.

example