<p dir="auto">what's the best way to test drag and drop with playwright?</p>
<p dir="auto">I don't think that they have implemented <code class="notranslate">drag</code> functionality yet, so is there any workaround?</p>
<p dir="auto">any helps would be appreciated!</p>
<p dir="auto">Drag and drop should work with playwright. Using the existing mouse apis should generate working <code class="notranslate">dragstart</code>, <code class="notranslate">drag</code>, and <code class="notranslate">drop</code> events. There should also be new APIs to simulate dropping in external content, and to inspect content dragged from the web page.</p>