Skip to content

Event for mouse.move doesn't get event buttons property set #508

@toy

Description

@toy

Describe the bug
Event produced using mouse.move doesn't have property indicating pressed buttons set.
The buttons property should indicate the state of the buttons for all events (mdn web docs).

To Reproduce

window.onmousedown = console.log
window.onmousemove = console.log
browser.mouse.move(x: 100, y: 100).down.move(x: 200, y: 200)

Expected behavior
Second logged mouse move event should have buttons property equal 1

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome Version 131.0.6778.205 (Official Build) (arm64)
  • Version 0.15

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions