docs(api.md): clarify coordinate system in mouse (#3041)

This commit is contained in:
Andrey Lushnikov 2018-08-07 14:24:38 -07:00 committed by GitHub
parent 608f5b79fe
commit d822401449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1890,6 +1890,8 @@ Dispatches a `keyup` event.
### class: Mouse
The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport.
#### mouse.click(x, y, [options])
- `x` <[number]>
- `y` <[number]>