Free alternatives to Happy Dom
200 free apps like Happy Dom, closest match first.
Top picks
- B
Browser Run
Launchbrowser-run runs code inside a browser environment from the command line, so you can test or run browser code without setting up a page yourself. It starts a small web server and opens a browser that loads your code, and console output from
- D

Dev Browser
Getdev-browser is a browser automation plugin and skill, by Sawyer Hood and brought to you by Do Browser, that lets Claude Code drive a browser to test and verify its own work. It lets coding agents control Chrome with short JavaScript scripts
- P
Playwright
LaunchPlaywright is a library and toolset for automating web browsers and writing end-to-end tests. A single API drives Chromium, Firefox and WebKit, and you can write scripts in TypeScript, Python, .NET or Java. Playwright Test is the test runne
- P
Parallel DOM
LaunchParallel DOM (PDom) is a JavaScript library for moving heavy DOM work off a web app's main thread, so that a slow component does not freeze the rest of the page. It runs code in a sandboxed iframe that gets its own CPU process for JavaScrip
- P
Puppetry
LaunchPuppetry is an open-source desktop app for Windows, macOS and Linux that lets people create and run automated end-to-end tests for web applications without writing code. It is built on Puppeteer, the headless Chrome API, and the Jest testin
- S

server-dom-shim
Launchserver-dom-shim is a small package that stops server-side rendering from failing on browser-only DOM classes. When code that refers to HTMLElement runs on a server, Node.js does not define it, and the render fails with an error saying HTMLE
More like Happy Dom

shadow-dom-testing-library
An extension of DOM-testing-library to provide hooks into the shadow dom
About Happy Dom
Happy Dom
A JavaScript implementation of a web browser without its graphical user
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It gives code that expects a browser, such as DOM manipulation, custom elements and fetch calls, a working document model inside Node.js or Bun, without opening a window. The project lists DOM features including Web Components with custom elements, declarative shadow DOM, MutationObserver, TreeWalker and the Fetch API. It can be set up as a test environment, so component and unit tests can render and query markup without launching a real browser. The documentation has a getting started guide and a separate page for the test setup. The listed integrations include Vitest, Bun, Jest, Testing Library, Google LitElement, Vue, React, Svelte and Angular. It is released under the MIT licence, with copyright from 2019 to the present, and it accepts contributions through a contributing guide on GitHub.
- Price
- Free
- Made by
- capricorn86
- Category
- Developer Tools
- Website
- github.com/capricorn86/happy-dom

















