CodeceptJS logo

CodeceptJS

Open-source JavaScript/TypeScript end-to-end testing framework with AI-assisted selector healing, driving Playwright, WebDriver, Puppeteer, and Appium.

  • Open source
  • Free forever
CodeceptJS screenshot

What is CodeceptJS?

CodeceptJS is a free, MIT-licensed end-to-end testing framework for Node.js that lets you write web and mobile tests in a readable, prose-like syntax such as I.click() and I.fillField(). It runs on top of Playwright, WebDriver, Puppeteer, and Appium, abstracting away selector details. It adds AI capabilities that can rewrite broken selectors on the fly, an MCP server for agentic testing with tools like Claude and Cursor, and Explorbot, an open-source self-testing agent. It is self-hosted and installed via npm rather than a hosted SaaS.

Key features

Prose-like action commands (I.click(), I.fillField()) that abstract away selectors

Single API driving Playwright, WebDriver, Puppeteer, and Appium backends

AI-assisted selector healing that rewrites broken locators on the fly

MCP server integration for agentic testing with Claude and Cursor

Page Objects with dependency injection

Live debugging via pause() with automatic step-by-step screenshots

Pros & cons

Advantages

  • Completely free and open source (MIT licensed)
  • Readable, prose-like syntax lowers the barrier to writing E2E tests
  • Backend-agnostic: switch between Playwright, WebDriver, Puppeteer, and Appium
  • Built-in AI and agentic/MCP features for self-healing and AI-driven test authoring

Limitations

  • Requires Node.js and coding knowledge; not a no-code or point-and-click tool
  • Self-hosted framework with no managed cloud dashboard, hosting, or vendor support
  • AI/agentic features are relatively new and depend on external LLM tools via MCP
  • No commercial SLA; support relies on community and open-source maintainers

Use cases

Automated end-to-end testing of web applications

Mobile and native app testing via Appium

AI-driven test authoring and self-healing test suites

Regression testing in CI/CD pipelines

Ready to try CodeceptJS?

Get started with CodeceptJS

Click through to CodeceptJS and start using it now.

  • Open source
  • Free forever