Draw a line using Cypress Method (1) step 1: First of all get the exact coordinates i.e. { clientX: 200, clientY: 300 } step 2: Find the the exact Locater i.e. cy.get(‘[datatestid=’xyz’]’) step 3: cy.get(“[datatestid=’xyz’]”).trigger(‘mousedown’,’center’) .click({release:false}) .trigger(‘mousemove’,{ clientX: 200, clientY: ...
Home/Draw a line using Cypress