cypress-chromium

1.0.0 • Public • Published

cypress-chromium

This node module provides an easy way to install and use the Chromium browser in a Cypress project. Chromium comes bundled with this module.

Prerequisites

Usage

Simply import this module into your Cypress config like so, and Chromium will be added to the array of browsers:

// cypress.config.ts

export default defineConfig({
  e2e: {
    setupNodeEvents(on, config) {
      require('cypress-chromium')(config);
      
      return config;
    },
    // ...
  }
});

Parameters

Name Type Default value Description
config object null Cypress config object
errorIfChromiumIsMissing boolean false If true, throw an error if Chromium can't be found.

Dependents (0)

Package Sidebar

Install

npm i cypress-chromium

Weekly Downloads

315

Version

1.0.0

License

MIT

Unpacked Size

4.56 kB

Total Files

5

Last publish

Collaborators

  • benchesh