⚙️ Install
- 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');
🧪 Usage
You can now easily use cy.clicks()
. It takes two parameters:
-
times
: number of clicks - default is 1 -
options
: click options (ref)
License
This project is licensed under the terms of the MIT license.