MohamadKh75 / cypress-plugin-multiple-click

Click multiple times in Cypress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Click multiple times in Cypress

License:MIT License


Languages

Language:TypeScript 70.8%Language:HTML 23.1%Language:Shell 6.2%