Description
Hi there; firstly I am amazed by Playwright - it's genius - thanks to everyone involved.
I see the previous enhancement that was committed which added x/y mouse coords to canvas elements (#9503), thinking that would meet my needs, but then I realized that we are actually using an img element like a canvas to display some off-screen-rendered content. I know our situation is pretty unique, but I saw other requests here asking for x/y coords in a div so I know I'm not the only one who would like x/y for any element. (Perhaps this could be done via a custom attribute on the element itself?)
Additionally, it would help us to record mouse/pointer events to capture pointer down/move/up. (Our application has in some places an interactive 3D editor.) I don't see support for that but maybe I've missed it.
(Apologies in advance if I'm doing anything wrong here in the submission - I am a newcomer.)