HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
hollingsworthd
jBrowserDriver
Java2015–2023
hollingsworthd / jBrowserDriver

jBrowserDriver

A programmable, embeddable web browser driver compatible with the Selenium WebDriver spec -- headless, WebKit-based, pure Java

2Distinct people
22Mentions
0Explicit recommenders
819GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A programmable, embeddable web browser driver compatible with the Selenium WebDriver spec -- headless, WebKit-based, pure Java

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 4:00:59 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year22 dated mentions

Observed mentions: 2015-01-16 22:49:05 UTC to 2023-04-03 17:30:50 UTC.

0510152015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 13 mentions; 2 submissions, 11 comments20152016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC13211
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC514
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC312
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC000
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101

What Hacker News says

13 sources
SEEKING WORK - remote only Offering consulting to integrate my WebKit-based and highly scalable web driver into your project. It's programmable, headless, renders Javascript, and has comparable features to desktop browsers. See https://github.com/machinepublishers/jbrowserdriver ... It can render about a million complete webpages, Javascript and all (including sub-resources) for ~ $70 in AWS computing time. I offer clients guaranteed flat rates on projects instead of hourly. Contact dan@machinepublishers.com
In Ask HN: Freelancer? Seeking freelancer? (December 2015)
I had been using Firefox driver in Xvfb but wasn't happy with the performance/stability. So I built a Selenium driver out of Java only (using JavaFX's embedded WebKit) and used a headless JRE windowing toolkit (Monocle). My project is still a pre-release but the headless capability, Java-only system requirement, and its ajax handling might make it useful to some people currently: https://github.com/MachinePublishers/jBrowserDriver
In How to make Selenium tests reliable, scalable, and maintainable
It's basically the GNU Classpath wording, but I had to modify it slightly to achieve my goals [1]. Part of the wording about the objective (the first sentence) was shamelessly borrowed from the Mattermost project [2]. GNU Classpath is more permissive in that its exception applies to modified versions too [3]. [1] https://github.com/MachinePublishers/jBrowserDriver/blob/mas... [2] https://github.com/mattermost/platform/blob/master/LICENSE.t... [3] https://www.gnu.org/software/classpath/license.html
In Mailpile Chooses AGPL v3
https://github.com/MachinePublishers/jBrowserDriver is a Selenium WebDriver that runs headless, is pure Java, and runs fine on a standard JVM. And most people use these web drivers because they need to parse AJAX sites, yet most web drivers have terrible support for it. Mine does a pretty good job of knowing when a page is loaded, including its asynchronous requests, whether from the page load or subsequent clicks/actions. There are some missing features and bugs still but it's working pretty well.
In Ask HN: Brag about open-source projects you're proud of
Lately I've been making a Selenium WebDriver implementation for Java's built-in WebKit. I spent an absurd amount of time trying to figure out how to let multiple instances of the browser operate concurrently without affecting each other. E.g., if a resource request is in progress, then a second request to the same resource simply uses the output of the first (which is a problem if it's stateful output for the user). After reading most of the JavaFX and WebKit codebases I realized that isolation is not possible without recompiling a modified WebKit. So then I set about figuring out how to isolate Java code. But most solutions are half-baked, are only academic research projects, or require a special JVM. However, if you load JavaFX along with native libs into a classloader for each browser instance, then they're effectively isolated. The do
Read the rest
wnside is that objects of the same class have completely different un-castable types if they're from different classloaders. So then I needed to use reflection to lookup classnames at runtime and resolve them dynamically. Anyhow, http://i.imgur.com/ovxVHW9.png https://github.com/MachinePublishers/jBrowserDriver
In Ask HN: Screenshot Saturday
I'm currently writing a Java-based headless browser, https://github.com/MachinePublishers/jBrowserDriver Beware it's Affero GPL. It implements most of the Selenium WebDriver APIs. Currently it's a work in progress especially in regard to persistent tracking. But it's capable of addressing many issues raised in the article. As a bonus, for Java users it's a lot faster than GhostDriver at least. Header ordering: https://github.com/MachinePublishers/jBrowserDriver/blob/mas... DOM objects (user-agent, navigator, Canvas, Date) are addressed by injecting the response content: https://github.com/MachinePublishers/jBrowserDriver/blob/mas... JS Engine: about 1 year newer than PhantomJS. Java ships with Qt5 WebKit. I'll have some significant updates in the next couple of days surrounding all these issues.
In Detecting PhantomJS-based visitors

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.