Developing E2E Tests with CodeceptJS Recorder Chrome Extension

End-to-End (E2E) testing is crucial for ensuring the functionality and reliability of web applications. The CodeceptJS Recorder Extension simplifies the creation of E2E test scripts by allowing you to export tests directly from the Chrome DevTools Recorder panel. Follow this step-by-step tutorial to develop E2E tests using the CodeceptJS Recorder Extension.


  1. Install Node.js: Ensure Node.js is installed on your machine. You can download it from here.
  2. Initialize a CodeceptJS Project: Create a new CodeceptJS project using the following commands in your terminal:
npx codeceptjs init
  1. Install CodeceptJS Recorder Extension : Install the CodeceptJS Recorder Extension by:

Recording E2E Tests

  1. Open Chrome DevTools Recorder: Navigate to your web application in Chrome, right-click, and select “Inspect.” Go to the “Recorder” panel in DevTools.

  2. Interact with Your Application: Use the Recorder to interact with your web application.

  3. Choose Show Code

  4. Choose CodeceptJS from the list
    Screenshot 2023-11-24 at 10.16.11

  5. It will automatically generate CodeceptJS test scripts based on your actions.

  6. Copy the generated code into your test file

Running Recorded Tests

  1. Execute Tests: Run the recorded tests using the following command:
npx codeceptjs run
  1. Review Reports: CodeceptJS will provide detailed reports on test execution, aiding in identifying and addressing any issues.


Congratulations! You have successfully developed and executed E2E tests using the CodeceptJS Recorder Chrome Extension. This streamlined process enhances test development efficiency and ensures the robustness of your web applications.