Skip to content

Add cy.trigger() #406

@chrisbreiding

Description

@chrisbreiding

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 as cancelable and bubbles, allowing those properties to be overridden by the caller if needed.

Metadata

Metadata

Assignees

Labels

pkg/driverThis is due to an issue in the packages/driver directorytype: featureNew feature that does not currently exist

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions