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

Trigger MouseEvent to achieve Drag and Drop in web app #918

Open
mpreethi90 opened this issue Apr 22, 2019 · 3 comments
Open

Trigger MouseEvent to achieve Drag and Drop in web app #918

mpreethi90 opened this issue Apr 22, 2019 · 3 comments

Comments

@mpreethi90
Copy link

  • Macaca Version:
    2.0.16

  • Macaca Doctor Logs:

  • Operate System:
    Mac OS 10.14

  • Programming Language:
    Node js

@paradite
Copy link
Collaborator

Have you tried using dom-event-simulate? mousedown, mousemove and mouseup should be enough.
API docs:

@mpreethi90
Copy link
Author

mpreethi90 commented Apr 25, 2019

@paradite I tried , but got error in using dom-event-simulate.

My requirement is to do drag/drop in middle of macaca browser testing.

Here is the error I got -

Screenshot 2019-04-25 at 10 05 21

@paradite
Copy link
Collaborator

paradite commented May 8, 2019

let me try it on my end, to see if there is any issues with using dom-event-simulate with macaca and how to set them up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants