Skip to content

MoKhajavi75/cypress-plugin-multiple-click

Repository files navigation

cypress-plugin-multiple-click

npm version   TypeScript

⚙️ 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)

📐 Example

Take a look at Cypress folder

📄 License

This project is licensed under the terms of the MIT license.