Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying coordinates for a click event on DOM elements #50

Closed
seltar opened this issue Jul 2, 2015 · 2 comments
Closed

Specifying coordinates for a click event on DOM elements #50

seltar opened this issue Jul 2, 2015 · 2 comments
Labels
type: enhancement Requested enhancement of existing feature

Comments

@seltar
Copy link

seltar commented Jul 2, 2015

Is it possible to add the option to specify coordinates for a click event on certain types of DOM elements, like canvas?

For example
cy.get("canvas").click(50, 200);
would trigger a click event 50px from the left and 200px from the top of the specified canvas element.

@jennifer-shehane jennifer-shehane added the type: enhancement Requested enhancement of existing feature label Jul 2, 2015
@brian-mann
Copy link
Member

Yes, will be done within the next 1-3 patch releases.

@brian-mann
Copy link
Member

Added in 0.9.3.

@cypress-io cypress-io locked as resolved and limited conversation to collaborators Dec 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Requested enhancement of existing feature
Projects
None yet
Development

No branches or pull requests

3 participants