We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://playwright.dev/docs/api/class-mouse#mouse-move
It's unclear from the documents whether mouse.move() takes absolute or relative coordinates
mouse.move()
In practice it seems to be absolute. It would be helpful to note how to move relative to the current position too
The text was updated successfully, but these errors were encountered:
They are always relative to the top left of your page / page main frame in CSS pixels.
Sorry, something went wrong.
Did the docs get updated on this? I raised this as a docs bug because I thought the mouse docs should make this clearer.
docs: make x/y more clear (#31606)
5c8fe5c
Fixes #31567
Updated in #31606.
Successfully merging a pull request may close this issue.
Page(s)
https://playwright.dev/docs/api/class-mouse#mouse-move
Description
It's unclear from the documents whether
mouse.move()
takes absolute or relative coordinatesIn practice it seems to be absolute. It would be helpful to note how to move relative to the current position too
The text was updated successfully, but these errors were encountered: