-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add cy.trigger() #406
Copy link
Copy link
Closed
Labels
pkg/driverThis is due to an issue in the packages/driver directoryThis is due to an issue in the packages/driver directorytype: featureNew feature that does not currently existNew feature that does not currently exist
Milestone
Metadata
Metadata
Assignees
Labels
pkg/driverThis is due to an issue in the packages/driver directoryThis is due to an issue in the packages/driver directorytype: featureNew feature that does not currently existNew feature that does not currently exist
Type
Fields
Give feedbackNo fields configured for issues without a type.
Create a
cy.trigger()command that makes it easy to trigger an event on a dom element. This will help to simulate actions such as drag-n-drop, hover, and input range interaction.cy.trigger()will take care of setting coordinates and sensible default properties such ascancelableandbubbles, allowing those properties to be overridden by the caller if needed.