DEV Community

Cover image for Ladybird Alpha: How to Test Your Website in a Brand New Browser Engine
jamilxt
jamilxt

Posted on Originally published at jamilxt.com

Ladybird Alpha: How to Test Your Website in a Brand New Browser Engine

On November 23, 2026, the Ladybird team published Ladybird is now in alpha. The first public build, version 2026.47.7, is out for macOS and Linux. The post describes it as "a browser with a new engine. The engine is our own, built from the ground up, and not a fork."

That last part matters for web developers. Almost every browser you test today runs on Blink (Chrome, Edge, Brave, Opera), WebKit (Safari) or Gecko (Firefox). The GitHub release notes say Ladybird "isn't a fork or a wrapper around Chromium, WebKit or Gecko. HTML, CSS, the DOM, layout, JavaScript and WebAssembly are all implemented from scratch." So when your site breaks in Ladybird, it is breaking in an engine your site has probably never been tested against.

The alpha post also asks directly: "If you build websites, try yours in Ladybird and tell us what breaks. It supports WebDriver for automated testing, as well as the Firefox DevTools protocol."

This guide covers four steps: install it safely, inspect your pages, automate a check, and send a useful report. It is built from the project's release notes, docs and source code, not from hands-on testing.

What shipped, in plain numbers

From the download page:

  • Version: Alpha 2026.47.7, dated November 23, 2026.
  • macOS: needs macOS 14.4 or later on Apple silicon. It ships as a disk image.
  • Linux: x86-64 and ARM64. Flatpak (a Linux app format that works across distributions) is the recommended install. There are also APT packages for Ubuntu 24.04 and 26.04+, an RPM repo for Fedora 44 and 45, and a standalone archive.
  • Windows: not in this alpha.
  • Updates: the alpha is "a rolling channel, and we'll be pushing out automatic updates regularly." Rolling means new builds keep arriving, instead of a few big versions a year. The standalone archive is the exception; the page says it "doesn't update automatically."

The Hacker News thread on the launch passed 1,500 points and 340 comments in its first 11 hours. One commenter posted the user agent string the macOS build sends, which matters in Step 5.

Step 1: Install it like untrusted software

The alpha post is direct about security: "A new browser gets hacked, over and over, and that's part of the process, so we make no promises about security today."

The project's SECURITY.md adds a known limitation. Ladybird's process isolation "is still being hardened: The browser process and the other helper processes don't yet treat every request from the WebContent process as untrusted." WebContent is the sandboxed process that runs web pages.

For a testing machine, that leads to three simple rules:

  1. Do not log in to real accounts. Use test accounts on staging, not your production admin login.
  2. Keep it away from secrets. Do not browse to internal dashboards that hold API keys or customer data.
  3. Prefer a separate machine, VM or user account if you plan to use it for more than a quick look.

Verify the download first

The download page gives a verification step for every package. For the macOS disk image, it lists three checks:

# 1. Hash matches the published value
shasum -a 256 'ladybird-2026.47.7-macOS-arm64.dmg'

# 2. Apple notarization and the Ladybird signer
#    (should print "explicit requirement satisfied")
codesign --verify -v -R='notarized and anchor apple generic and certificate leaf[subject.OU] = "KQT83NTQL8"' 'ladybird-2026.47.7-macOS-arm64.dmg'
Enter fullscreen mode Exit fullscreen mode

The third check verifies a Sigstore build attestation (a signed record of how the file was built) with cosign. The exact command is on the download page. For Linux, the page publishes the expected GPG key fingerprint for each repository, so you can compare the key before running apt update or dnf install.

On Linux, the Flatpak install is one line, copied from the download page:

flatpak install --user 'https://flatpak.ladybird.org/ladybird.flatpakref'
Enter fullscreen mode Exit fullscreen mode

Step 2: Do a manual pass and report what breaks

Open your site and click through the flows that matter: sign up, log in with a test account, search, checkout, any form with validation. HN testers report mixed early results. One found every site they tried rendered correctly apart from slightly jerky scrolling. Another, building a canvas-heavy web game, said it "seems to work pretty bad but thats understandable for alpha version."

When something breaks, report it from inside the browser. The web compatibility report docs describe the flow:

  • Choose Report Website Issue... from the Help menu or the page's context menu.
  • Drag a box around the broken area, take the whole visible page, or pick No Screenshot.
  • Describe what is wrong. This field is required.

Every report includes the page URL, user agent, viewport size, device pixel ratio, zoom level, and the Ladybird version, platform and git commit. You can also tick Include layout and painting information, which attaches the layout tree and display list. The docs warn that these dumps "contain text from the page and can contain personal information," so leave the box unticked on pages with real user data. View full report shows exactly what will be sent.

If you can, cut the bug down to a small HTML file before reporting it. Ladybird no longer accepts public pull requests, so outside code fixes are off the table. The same post lists what still helps: "clear bug reports, reductions, website testing, standards discussion, design discussion, security reports, and technical feedback."

Step 3: Inspect the page with Firefox DevTools

Ladybird's developer tools work through the Firefox DevTools protocol: Ladybird runs a server, and a Firefox DevTools client (in Firefox or a Firefox-based browser) connects to it. The DevTools docs describe two ways to turn it on:

  • From the Inspect menu, choose Enable DevTools. A banner shows the port it is listening on.
  • Or start Ladybird with the --devtools flag. --devtools=6001 picks a specific port.

Then either click Open Client on the banner, or connect from Firefox by hand:

  1. Open about:debugging in Firefox and go to Setup.
  2. Under Network Location, add localhost:6001 (or whichever port the banner shows).
  3. Click Connect, open the address, and press Inspect next to the Ladybird tab.

An HN tester described the default flow: pressing F12 makes Ladybird listen on port 6000, and then you connect from a Gecko browser through about:debugging. They said the DOM inspector and network tab worked, and the debugger showed sources.

What to expect from the tooling

The DevTools document records what Ladybird has implemented, as "only observed behavior." In its examples, the applied styles pane returns an empty list, because LibWeb (the engine's web library) does not support it yet. Flexbox and grid inspection are stubbed. The Computed pane, the box model highlighter and console evaluation of plain values all work.

The October newsletter lists newer DevTools work on top of that: Inspect Element, console autocomplete and expandable objects in the console. So the document may lag behind the build you install. In practice, expect DOM and computed-style debugging to be the solid part, and use another browser for detailed CSS editing until the applied-styles pane fills in.

Step 4: Automate a check with WebDriver

This part is for teams with a CI pipeline. Ladybird includes a WebDriver service, and the project's WebDriver guide says it "can launch a browser, navigate pages, evaluate JavaScript, and capture screenshots."

The guide's example builds WebDriver from source (ninja WebDriver in Build/release) and runs bin/WebDriver, or bin/Ladybird.app/Contents/MacOS/WebDriver on macOS. The docs do not say whether every packaged build includes the WebDriver binary, so check your install, and build from source if it is missing.

Start the service on loopback (127.0.0.1, reachable only from your own machine) in headless mode (no visible window). These flags come from the guide and from the service's argument parser:

./bin/WebDriver --headless --listen-address 127.0.0.1 --port 4444
Enter fullscreen mode Exit fullscreen mode

WebDriver is a W3C standard HTTP protocol, so plain curl can drive it. The calls below follow the Python example in Ladybird's guide: create a session, set timeouts, open a URL, run a script, take a screenshot, end the session.

# Create a headless session and note the sessionId in the reply
curl -s -X POST http://127.0.0.1:4444/session \
  -H 'Content-Type: application/json' \
  -d '{"capabilities":{"alwaysMatch":{"ladybird:headless":true}}}'

SID=paste-session-id-here

curl -s -X POST http://127.0.0.1:4444/session/$SID/timeouts \
  -H 'Content-Type: application/json' -d '{"pageLoad":30000,"script":30000}'

curl -s -X POST http://127.0.0.1:4444/session/$SID/url \
  -H 'Content-Type: application/json' -d '{"url":"https://staging.example.com/"}'

# Ask the page a question
curl -s -X POST http://127.0.0.1:4444/session/$SID/execute/sync \
  -H 'Content-Type: application/json' \
  -d '{"script":"return {title: document.title, forms: document.forms.length};","args":[]}'

# The screenshot comes back as base64 in the "value" field
curl -s http://127.0.0.1:4444/session/$SID/screenshot -o shot.json

curl -s -X DELETE http://127.0.0.1:4444/session/$SID
Enter fullscreen mode Exit fullscreen mode

WebDriver clients such as Selenium's remote driver speak the same protocol, but the guide only shows raw HTTP, so get the curl flow working first. The October newsletter also lists WebDriver BiDi, the newer two-way version of the protocol.

Three options worth knowing

Swap one file without touching the server. --resource-map takes a JSON file that maps URLs to local files. The guide's example replaces a production script with an instrumented copy (a copy with extra logging or checks added):

{
  "substitutions": [
    {
      "url": "https://example.com/assets/app.js",
      "file": "/absolute/path/to/instrumented-app.js",
      "content_type": "text/javascript"
    }
  ]
}
Enter fullscreen mode Exit fullscreen mode

URL matching ignores the query string and fragment, so this entry also replaces app.js?v=123. Paths must be absolute, and you need to restart the WebDriver session after changing the map. It lets you add logging to a minified bundle and find where Ladybird behaves differently from other browsers.

Wait for the app, not the clock. The guide says to "avoid fixed sleeps to decide when a page is ready." Use /execute/async with a promise or an application event, and call the callback passed as the last script argument when the page is ready.

Rule out the GPU. If a rendering bug looks like a painting issue, rerun with --force-cpu-painting. If your test needs a logged-in state, --profile-path /absolute/path/to/profile keeps a persistent profile. Otherwise, WebDriver uses its own temporary profile and removes it when it shuts down cleanly.

Step 5: Check your user agent (UA) sniffing

Here is the user agent from that HN comment, sent by the macOS build:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) Ladybird/2026.47.7 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.0.0 Safari/537.36
Enter fullscreen mode Exit fullscreen mode

It contains Chrome/153.0.0.0 on purpose. The UserAgent.h source names this token SAD_COMPATIBILITY_HACK, with the comment: "Some web servers treat us very badly unless we pretend to be one of the major browsers." The platform part is frozen too. The source says reporting the real OS and CPU "gets us served degraded or broken content (e.g. the Instagram login page)." That is why an Apple silicon Mac reports "Intel Mac OS X 10_15_7".

This has two effects on your site:

  • Your analytics will likely count Ladybird visitors as Chrome, unless your parser looks for the Ladybird/ token. If you want to know how many Ladybird visitors you get, match that token before you match Chrome/.
  • Chrome-only code paths can run in a non-Chrome engine. If your server sends Chrome-specific markup or scripts based on the user agent, Ladybird gets them. This is a good argument for feature detection (if ('IntersectionObserver' in window), @supports in CSS) over user agent checks. Feature detection asks the engine what it can do, instead of guessing from a name.

What "no security promises" means if you find a bug

If your testing turns up something that looks like a security bug, SECURITY.md sets the rules:

  • Report privately through GitHub's private vulnerability reporting, not as a public issue or on Discord. The policy explains why: "Ladybird now has public releases, so a vulnerability disclosed before it's fixed can put people using Ladybird at risk."
  • In scope: memory-safety bugs that web content can trigger, sandbox escapes, bypasses of the same-origin policy, site isolation, Content Security Policy or iframe sandboxing, and address bar spoofing.
  • Not a security issue: a controlled crash of the sandboxed WebContent process that corrupts no memory, such as a failed assertion or a null-pointer dereference. That goes in a normal GitHub issue.
  • Timeline: a default 30-day disclosure window. Accepted reports get an advisory and a CVE identifier.
  • No bug bounty "at this time."

The October newsletter also reports progress on isolation: cross-site iframes now get their own renderer process by default, and each top-level site gets its own network process.

Why this engine is worth an hour of your time

The number that got attention is from Web Platform Tests (WPT), the shared cross-browser test suite. Per the October newsletter, Ladybird passed Safari Technology Preview on October 26. At the end of October, the subtest counts it published were:

  • Chrome: 2,244,397
  • Firefox: 2,189,315
  • Ladybird: 2,184,722
  • Safari Technology Preview: 2,172,990

The team is open about how part of that happened: "We pointed AI coding agents at WPT and asked them to fill in missing functionality. They made lots of small fixes, and those added up." Passing tests is also not the same as running real sites well. WPT measures spec behavior, and real sites lean on quirks, timing and performance that tests do not cover. That gap is exactly what your own site testing can expose.

The same newsletter lists the engine work from October alone: style and layout moved off the main thread, a JavaScript JIT (a compiler that turns hot code into machine code at runtime), and a new WebAssembly engine. At that pace, bugs you report now land while the code is still being shaped.

There is also a simpler reason. Ladybird's about section says "only a small number of browser engines power the entire thing, each controlled by a company with its own agenda." Ladybird is developed by a non-profit. Whether or not you ever use it daily, a site that works in four engines is a site written against the standards, not against one browser.

The checklist

  1. Install on a test machine or account, and verify the download: hash, signature or key fingerprint.
  2. Use test accounts only. No production logins, no internal dashboards.
  3. Click through your main flows and report breakage with Report Website Issue..., leaving layout dumps off on pages with personal data.
  4. Inspect with Firefox through about:debugging, and expect DOM and computed styles to work better than applied-style editing.
  5. Start WebDriver headless on 127.0.0.1 and run one scripted check against staging.
  6. Use --resource-map to load an instrumented copy of a script without redeploying.
  7. Search your codebase for user agent checks, and match Ladybird/ before Chrome/ in analytics.
  8. Send security bugs privately under SECURITY.md, not as public issues.

Ladybird updates itself on a rolling channel, so a bug you find this week may be gone next week. Which part of your site do you expect to break first in an engine it has never met?

Top comments (0)