[Feature] mouse.getPosition()
See original GitHub issueMouse instance stores position inside _x
and _y
props. Of course it is JS and nobody can stop one of accessing them, but they are not part of interface and it’s not good to use them like this. And it is often useful to get current cursor position and don’t track it manually.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Mouse.GetPosition(IInputElement) Method - Microsoft Learn
The position of the mouse pointer is calculated relative to the specified element with the upper-left corner of element being the point of...
Read more >Mouse Class Reference (SFML / Learn / 2.5.1 Documentation)
Get the current position of the mouse in window coordinates. This function returns the current position of the mouse cursor, relative to the...
Read more >GetPosition - 2000 Things You Should Know About WPF
GetPosition method when the mouse pointer is within the boundaries of your application's main window. When the mouse is located outside of the ......
Read more >How do I get the current mouse screen coordinates in WPF?
Mouse.GetPosition returns a Point, and PointToScreen converts the point to the screen coordinate. – erikH. Sep 19, 2013 at 11:06.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
First of all, thank you for filing this issue. We appreciate your input, in many ways Playwright is based on it. This particular feature request didn’t get enough stars for us to prioritize the work on it and hence is being closed. We are a relatively small team and we need to prioritize aggressively to deliver support and new features to you.
@pavelfeldman you already have a PR for this that was closed for no reason