I mean I thought anything rectangular has a hwnd property.

Say I want to simulate drag and drop of a htmlelement

How do I do that?

I can simulate a click by doimg animg.click

but how do I simulate mousekeydown and mousekeyup separately?