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

always emit deltaX and deltaY for Input.dispatchMouseEvent #11

Merged
merged 1 commit into from May 25, 2021

Commits on May 18, 2021

  1. always emit deltaX and deltaY for Input.dispatchMouseEvent

    Otherwise, the CDP message with the following params:
     {"type":"mouseWheel","x":0,"y":0,"modifiers":0,"deltaY":100}
    will result in an error:
     {"code":-32602,"message":"'deltaX' and 'deltaY' are expected for mouseWheel event"}
    
    Fixes chromedp#10
    ZekeLu committed May 18, 2021
    Copy the full SHA
    7c9d7a0 View commit details
    Browse the repository at this point in the history