🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

cypress-brave

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

cypress-brave

Easy integration of brave browser with Cypress

1.2.0
unpublished
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Cypress Brave integration

Use Chromium-based Brave browser on any OS to run your Cypress E2E tests

npm (tag) npm bundle size npm npm peer dependency version GitHub commit activity NPM

Installation

npm install cypress-brave --save-dev

How to use

import { defineConfig } from 'cypress'
import braveBrowser from 'cypress-brave'

export default defineConfig({
  e2e: {
    setupNodeEvents(on, config) {
      
      // We need to find the browser and append 
      // it to the list of browsers 
      return braveBrowser().then((browser) => {
        return {
          browsers: config.browsers.concat(browser),
        }
      })
      
    }
  }
})

Contributing

If you want to contribute to this project simply fork it and clone it then run npm i in the root of the project, then run npm run start to run development server.

Licence and cast

MIT Licence

by Mahdi Khashan

Keywords

cypress-plugin

FAQs

Package last updated on 08 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts