Can you execute JavaScript without a browser?

This page summarizes the projects mentioned and recommended in the original post on /r/learnjavascript

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • puppeteer

    Node.js API for Chrome

    That said, you can use a "headless browser", which allows you to automate a full browser like Chrome or Firefox, just without a visible UI shell, via a script or command line. This is often used for automated end-to-end testing. Both Chrome and Firefox have native support for headless mode, and can be automated/controlled using tools like Selenium, Puppeteer, Playwright and Cypress.

  • Playwright

    Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

    That said, you can use a "headless browser", which allows you to automate a full browser like Chrome or Firefox, just without a visible UI shell, via a script or command line. This is often used for automated end-to-end testing. Both Chrome and Firefox have native support for headless mode, and can be automated/controlled using tools like Selenium, Puppeteer, Playwright and Cypress.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts