playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Feature] Drag between two pages (or, how to get drag metadata?)

Open Exoow opened this issue 2 years ago • 2 comments
trafficstars

Probably a less common use case, but anyway: the application (a planning board) can open a separate window with a list of plannable items. The users can drag these plannable items (from the new window) onto the planning board (original window).

I've tried various drag-and-drop methods (the one on Page, Locator and with mouse actions) but none seem to work. An alternative solution would be to verify the "metadata" of what is being dragged - if that is somehow possible?

image

Exoow avatar Apr 24 '23 08:04 Exoow

We are also waiting for this feature, in our test scenario - we have to drag and drop element between iframes

Mallikarjunkrs avatar Apr 25 '23 14:04 Mallikarjunkrs

+1

chensce avatar May 23 '23 00:05 chensce

My company shares this need. In our application there's an important scenario where items can be dragged from one window or tab and dropped on another. I also tried everything I could think of to get a test working for this scenario to no avail, so I'd love to see support for drag and drop between pages.

tommymorgan avatar Jul 24 '23 20:07 tommymorgan

Why was this issue closed?

Thank you for your involvement. This issue was closed due to limited engagement (upvotes/activity), lack of recent activity, and insufficient actionability. To maintain a manageable database, we prioritize issues based on these factors.

If you disagree with this closure, please open a new issue and reference this one. More support or clarity on its necessity may prompt a review. Your understanding and cooperation are appreciated.

pavelfeldman avatar Apr 22 '24 17:04 pavelfeldman