- npm:
npm install cypress-plugin-multiple-click
- yarn:
yarn add cypress-plugin-multiple-click
- pnpm:
pnpm add cypress-plugin-multiple-click
Then import the plugin into your cypress/support/e2e.js
file:
import 'cypress-plugin-multiple-click';
// or
require('cypress-plugin-multiple-click');
You can now easily use cy.clicks()
. It takes two parameters:
times
: number of clicks - default is 1options
: click options (ref)
Take a look at Cypress folder
This project is licensed under the terms of the MIT license.