CodeceptJS

CodeceptJS is a tool that automatically tests your websites and apps to ensure they work correctly.

  • Development
  • Tools & Utilities
CodeceptJS is a tool that automatically tests your websites and apps to ensure they work correctly. It mimics real human actions—like clicking buttons or typing—to catch errors before your users do. It connects with various technologies to test across all web browsers and mobile devices.

Platform availability

Available on 0 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

71/100 Good

Maintained
100last commit 3 days ago
Popular
734,253 GitHub stars
Easy to install
250 install platforms, install notes, Docker image
Light to run
No data
Security check
58no serious findings, 8 minor, CI, tests, OpenSSF Scorecard 4.7/10

Based on 4 of 5 factors.

GitHub stars
4,253
Open issues
179
Last commit
2026-11-18
Latest release
4.2.4
License
MIT
Activity
steady

Checked 3 days ago - source: GitHub (codeceptjs/CodeceptJS)

Resources & Compatibility

ARM (e.g. Raspberry Pi) is not supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Install CodeceptJS first Run npm install codeceptjs --save in your project folder (npm is Node.js's package manager) to add CodeceptJS; without it, your test files and the codeceptjs command won't be found. source
  • Add Playwright for browser tests If you plan to test web pages, run npm install codeceptjs playwright --save to add Playwright (the browser-control tool) so CodeceptJS can open pages and click things; without it, browser tests can't start. source

Fetched 53 days ago - each note links to its source

Alternatives (2)

  • Selenium - Selenium is a suite of tools specifically for testing web applications.
  • puppeteer - Puppeteer is a Node library which provides a high-level API to control headless Chrome or Chromium over the DevTools Protocol.

Checked 54 days ago - source: AlternativeTo

Common questions

Do CodeceptJS browser tests need an extra package in the project?

Yes, Playwright must be installed alongside CodeceptJS. Without it, browser tests can't start.

Can tests target elements with locators other than plain CSS selectors?

Yes, examples show XPath, CSS, and role/name locators for clicking and interacting with elements.

Can tests wait for text or elements before continuing?

Yes, CodeceptJS includes waitForText and waitForElement methods that accept a timeout value.

Can tests upload a file to a form field?

Yes, I.attachFile can attach a file to a selected element, such as an avatar input.

Does CodeceptJS attempt to repair failing tests automatically?

It is described as using self-healing to try to fix a test before failing it.

Answers sourced from codecept.io, github.com, www.reddit.com

Community

Collected 48 days ago - public community threads