API …
Web elements

Drag & drop

HTML5 drag and drop: a single draggable, a sortable list and a matching game.

Practice tasks

  • Drag the box into the drop zone and assert it turns green.
  • Reorder the list so “Gamma” is first and read the order.
  • Match all three shapes to their holes.
  • Try dragging with both locator.dragTo() and manual mouse moves.

More Web elements practice