Closed Bug 1562151 Opened 5 years ago Closed 1 year ago

Investigate discrepancies regarding Input.dispatchMouseEvent's button argument

Categories

(Remote Protocol :: CDP, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ochameau, Unassigned)

References

Details

Bug 1543185 landed a first version of dispatchMouseEvent where button is automatically set to "left" when no button argument is passed or if it is set to "none".
At first sight it doesn't look like chromium does the same as mousedown/up/click events aren't fired in these cases.
So it isn't clear what should be done in these two cases, but right now Firefox will fire left click/down/up events.

Blocks: 1548606
Priority: -- → P3
Component: CDP: Input → CDP

Given the CDP documentation the default for the button is none:
https://chromedevtools.github.io/devtools-protocol/tot/Input/#method-dispatchMouseEvent

Best would be to check with a CDP client in how Chrome behaves here, and apply the same logic to our implementation.

Severity: normal → S3

Our WebDriver BiDi implementation meanwhile supports the input.performActions command for key and mouse events. As such we won't spent time on CDP issues.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.