cypress-mouse-position

    1.0.0 • Public • Published

    Cypress Mouse Plugin

    Plugin for displaying mouse position within Cypress' iframe where your app is tested.

    cypress-mouse-position

    Installation

    npm i -D cypress-mouse-position
    

    In cypress/plugins/index.js add:

    const initCypressMousePositionPlugin = require('cypress-mouse-position/plugin');
     
    module.exports = (on, config) => {
      # ...
      initCypressMousePositionPlugin(on);
      # ...
    }

    In cypress/support/index.js add:

    import 'cypress-mouse-position/commands';

    Keywords

    none

    Install

    npm i cypress-mouse-position

    DownloadsWeekly Downloads

    1,188

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    97.5 kB

    Total Files

    13

    Last publish

    Collaborators

    • flotwig