1.0.0 • Published 7 months ago

cypress-chromium v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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

NameTypeDefault valueDescription
configobjectnullCypress config object
errorIfChromiumIsMissingbooleanfalseIf true, throw an error if Chromium can't be found.
1.0.0

7 months ago